Aracılığıyla paylaş


TelephonyManager.ActionShowVoicemailNotification Field

Definition

Broadcast intent action for letting the default dialer to know to show voicemail notification.

[Android.Runtime.Register("ACTION_SHOW_VOICEMAIL_NOTIFICATION", ApiSince=26)]
public const string ActionShowVoicemailNotification;
[<Android.Runtime.Register("ACTION_SHOW_VOICEMAIL_NOTIFICATION", ApiSince=26)>]
val mutable ActionShowVoicemailNotification : string

Field Value

Attributes

Remarks

Broadcast intent action for letting the default dialer to know to show voicemail notification.

The #EXTRA_PHONE_ACCOUNT_HANDLE extra indicates which PhoneAccountHandle the voicemail is received on. The #EXTRA_NOTIFICATION_COUNT extra indicates the total numbers of unheard voicemails. The #EXTRA_VOICEMAIL_NUMBER extra indicates the voicemail number if available. The #EXTRA_CALL_VOICEMAIL_INTENT extra is a android.app.PendingIntent that will call the voicemail number when sent. This extra will be empty if the voicemail number is not set, and #EXTRA_LAUNCH_VOICEMAIL_SETTINGS_INTENT will be set instead. The #EXTRA_LAUNCH_VOICEMAIL_SETTINGS_INTENT extra is a android.app.PendingIntent that will launch the voicemail settings. This extra is only available when the voicemail number is not set. The #EXTRA_IS_REFRESH extra indicates whether the notification is a refresh or a new notification.

Java documentation for android.telephony.TelephonyManager.ACTION_SHOW_VOICEMAIL_NOTIFICATION.

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