InternetDiscoveryConfiguration
actual data class InternetDiscoveryConfiguration(val timeout: Int = 0, val location: String? = null, val isSimulated: Boolean = false, val discoveryFilter: DiscoveryFilter = DiscoveryFilter.None) : 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.
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.
discoveryFilter
An optional filter to narrow down the discovered readers. Default is DiscoveryFilter.None.
Constructors
Link copied to clipboard
constructor(timeout: Int = 0, location: String? = null, isSimulated: Boolean = false, discoveryFilter: DiscoveryFilter = DiscoveryFilter.None)