BluetoothDiscoveryConfiguration

data class BluetoothDiscoveryConfiguration(val timeout: Int = 0, val isSimulated: Boolean = false) : DiscoveryConfiguration

Allows the user to use the device's Bluetooth antenna to interact with Stripe Terminal's Bluetooth-capable readers.

When discovering a reader using this method, DiscoveryListener.onUpdateDiscoveredReaders will be called multiple times as the Bluetooth scan proceeds.

Parameters

timeout

The timeout for discovery, in seconds. If the value is 0, discovery will not specify a timeout.

isSimulated

Whether the devices returned by discovery should be simulated.

Constructors

Link copied to clipboard
constructor(timeout: Int = 0, isSimulated: Boolean = false)

Properties

Link copied to clipboard
val isSimulated: Boolean = false
Link copied to clipboard
val timeout: Int = 0