isPlayingSystemRingtone method

Future<bool> isPlayingSystemRingtone()

系统铃声是否正在播放

Implementation

Future<bool> isPlayingSystemRingtone() async {
  try {
    return await _channel.invokeMethod("isPlayingSystemRingtone");
  } catch (e) {
    debugPrint("isPlayingSystemRingtone.error: $e");
    return false;
  }
}