Discover

interface Discover

Functions

Link copied to clipboard
abstract suspend fun startDiscovery(deviceInfo: DeviceInfo): Result<Flow<ConnectionCandidateEvent>>

Starts discovery for remote endpoints with the specified deviceInfo.

Link copied to clipboard
abstract fun stopDiscovery()

Stops discovery for remote endpoints, after a previous call to startDiscovery, when the client no longer needs to discover endpoints or goes inactive. Payloads can still be sent to connected endpoints after discovery ends.