stopSystemRingtone method

Future<bool> stopSystemRingtone()

暂停播放系统铃声/通知/警报

playSystemRingtone对应

Implementation

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