Share via


TelecomManager.GetVoiceMailNumber(PhoneAccountHandle) Method

Definition

Return the voicemail number for a given phone account.

[Android.Runtime.Register("getVoiceMailNumber", "(Landroid/telecom/PhoneAccountHandle;)Ljava/lang/String;", "GetGetVoiceMailNumber_Landroid_telecom_PhoneAccountHandle_Handler", ApiSince=23)]
[Android.Runtime.RequiresPermission("android.permission.READ_PHONE_STATE")]
public virtual string? GetVoiceMailNumber (Android.Telecom.PhoneAccountHandle? accountHandle);
[<Android.Runtime.Register("getVoiceMailNumber", "(Landroid/telecom/PhoneAccountHandle;)Ljava/lang/String;", "GetGetVoiceMailNumber_Landroid_telecom_PhoneAccountHandle_Handler", ApiSince=23)>]
[<Android.Runtime.RequiresPermission("android.permission.READ_PHONE_STATE")>]
abstract member GetVoiceMailNumber : Android.Telecom.PhoneAccountHandle -> string
override this.GetVoiceMailNumber : Android.Telecom.PhoneAccountHandle -> string

Parameters

accountHandle
PhoneAccountHandle

The handle for the phone account.

Returns

The voicemail number for the phone account, and null if one has not been configured.

Attributes

Remarks

Return the voicemail number for a given phone account.

Java documentation for android.telecom.TelecomManager.getVoiceMailNumber(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