replyRemoteUnlock method

  1. @override
Future<void> replyRemoteUnlock(
  1. String devId,
  2. bool allow
)
override

Replies to a remote unlock request

Implementation

@override
Future<void> replyRemoteUnlock(String devId, bool allow) async {
  // Use 'unlockWifiLock' to match the native Android implementation
  await methodChannel.invokeMethod('unlockWifiLock', {
    'devId': devId,
    'allow': allow,
  });
}