📅  最后修改于: 2022-03-11 14:53:32.576000             🧑  作者: Mango
val ringtoneUri = RingtoneManager.getDefaultUri(RingtoneManager.TYPE_RINGTONE)
val ringtoneSound: Ringtone = RingtoneManager.getRingtone(requireContext(), ringtoneUri)
ringtoneSound.play()