getScanState method

Future<bool?> getScanState()

获取识别状态 get scan state

Implementation

Future<bool?> getScanState() async {
  if (!_supportPlatform) return null;
  return await _channel.invokeMethod<bool?>('getScanState');
}