startDiscovery method

  1. @override
Future<void> startDiscovery()
override

Starts the discovery process. strongly recommended to call this method when the application is show cast devices dialog because the battery consumption is high when the discovery process is running.

Implementation

@override
Future<void> startDiscovery() async {
  _channel.invokeMethod('startDiscovery');
  return;
}