startDiscovery

suspend fun startDiscovery(deviceInfo: DeviceInfo): Result<Flow<ConnectionCandidateEvent>>

Starts discovery for remote endpoints with the specified deviceInfo. If discovery already started returns IllegalStateException If permissions not granted returns PermissionsNotGrantedException Otherwise returns Flow of ConnectionCandidateEvent