InternetDiscoveryConfiguration

actual data class InternetDiscoveryConfiguration(val timeout: Int = 0, val location: String? = null, val isSimulated: Boolean = false) : DiscoveryConfiguration

Searches for internet-connected readers, such as the BBPOS WisePOS E or the Stripe S700.

When discovering a reader with this method, DiscoveryListener.onUpdateDiscoveredReaders will only be called once with a list of readers from /v1/terminal/readers. Note that this will include readers that are both online and offline.

List all Readers

Parameters

timeout

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

location

Optional location used to scope discovery for IP connected readers.

isSimulated

Whether the devices returned by discovery should be simulated.

Constructors

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

Properties

Link copied to clipboard
val isSimulated: Boolean = false
Link copied to clipboard
val location: String? = null
Link copied to clipboard
val timeout: Int = 0