invoke

abstract fun invoke(showMock: Boolean, resolvedList: Flow<List<DiscoveredService>>): Flow<DiscoveredDevices>(source)

Returns a flow of all discovered devices (BLE, USB, TCP).

Parameters

resolvedList

the NSD/mDNS resolved services flow. On Android 15+, subscribing to NetworkRepository.resolvedList triggers a system consent dialog, so callers should pass flowOf(emptyList()) unless the user has explicitly requested a network scan.