Share via


TelephonyManager.GetVoicemailRingtoneUri(PhoneAccountHandle) Method

Definition

Returns the URI for the per-account voicemail ringtone set in Phone settings.

[Android.Runtime.Register("getVoicemailRingtoneUri", "(Landroid/telecom/PhoneAccountHandle;)Landroid/net/Uri;", "GetGetVoicemailRingtoneUri_Landroid_telecom_PhoneAccountHandle_Handler", ApiSince=24)]
public virtual Android.Net.Uri? GetVoicemailRingtoneUri (Android.Telecom.PhoneAccountHandle? accountHandle);
[<Android.Runtime.Register("getVoicemailRingtoneUri", "(Landroid/telecom/PhoneAccountHandle;)Landroid/net/Uri;", "GetGetVoicemailRingtoneUri_Landroid_telecom_PhoneAccountHandle_Handler", ApiSince=24)>]
abstract member GetVoicemailRingtoneUri : Android.Telecom.PhoneAccountHandle -> Android.Net.Uri
override this.GetVoicemailRingtoneUri : Android.Telecom.PhoneAccountHandle -> Android.Net.Uri

Parameters

accountHandle
PhoneAccountHandle

The handle for the PhoneAccount for which to retrieve the voicemail ringtone.

Returns

Uri

The URI for the ringtone to play when receiving a voicemail from a specific PhoneAccount. May be null if no ringtone is set.

Attributes

Remarks

Returns the URI for the per-account voicemail ringtone set in Phone settings.

Java documentation for android.telephony.TelephonyManager.getVoicemailRingtoneUri(android.telecom.PhoneAccountHandle).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to