queryDeviceWiFiStrength method

  1. @override
Future<String?> queryDeviceWiFiStrength({
  1. required String devId,
})
override

Get the signal strength of a specific device devId is passed on to native queryDeviceWifiStrength function of native is invoked String is returned

Implementation

@override
Future<String?> queryDeviceWiFiStrength({required String devId}) async {
  return await methodChannel.invokeMethod<String>(
    'queryDeviceWiFiStrength',
    <String, dynamic>{'devId': devId},
  );
}