Adapter the app supplies to perform local (LAN / mDNS) discovery. The SDK starts/stops discovery through this adapter and forwards each result to the app's subscribed callback.

interface ESPLocalDiscoveryAdapterInterface {
    startDiscovery(
        callback: ESPDiscoveryCallback,
        params: DiscoveryParamsInterface,
    ): void;
    stopDiscovery(): void;
}

Methods