TelecomManager.GetVoiceMailNumber(PhoneAccountHandle) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
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.