Dela via


TelephonyManager.VisualVoicemailPackageName Property

Definition

Returns the package responsible of processing visual voicemail for the subscription ID pinned to the TelephonyManager.

public virtual string? VisualVoicemailPackageName { [Android.Runtime.Register("getVisualVoicemailPackageName", "()Ljava/lang/String;", "GetGetVisualVoicemailPackageNameHandler", ApiSince=26)] [Android.Runtime.RequiresPermission("android.permission.READ_PHONE_STATE")] get; }
[<get: Android.Runtime.Register("getVisualVoicemailPackageName", "()Ljava/lang/String;", "GetGetVisualVoicemailPackageNameHandler", ApiSince=26)>]
[<get: Android.Runtime.RequiresPermission("android.permission.READ_PHONE_STATE")>]
member this.VisualVoicemailPackageName : string

Property Value

Attributes

Remarks

Returns the package responsible of processing visual voicemail for the subscription ID pinned to the TelephonyManager. Returns null when there is no package responsible for processing visual voicemail for the subscription.

Requires Permission: android.Manifest.permission#READ_PHONE_STATE READ_PHONE_STATE or that the calling app has carrier privileges (see #hasCarrierPrivileges).

Java documentation for android.telephony.TelephonyManager.getVisualVoicemailPackageName().

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