DiscoveryConfiguration

data class DiscoveryConfiguration @JvmOverloads() constructor(timeout: Int, discoveryMethod: DiscoveryMethod, isSimulated: Boolean, location: String?)

The DiscoveryConfiguration contains configuration information relevant to the reader discovery process.

Use of this SDK is subject to the Stripe Terminal Terms: https://stripe.com/terminal/legal

Constructors

DiscoveryConfiguration
Link copied to clipboard
fun DiscoveryConfiguration(timeout: Int = 0, discoveryMethod: DiscoveryMethod = BLUETOOTH_SCAN, isSimulated: Boolean = false, location: String? = null)

Properties

discoveryMethod
Link copied to clipboard
val discoveryMethod: DiscoveryMethod
The DiscoveryMethod to use to find connectible readers.
isSimulated
Link copied to clipboard
val isSimulated: Boolean = false
Whether the devices returned by discovery should be simulated
location
Link copied to clipboard
val location: String? = null
Location used to scope IP connected readers
timeout
Link copied to clipboard
val timeout: Int = 0
The timeout for discovery, in seconds.