Partager via


TelephonyManager.IsVoicemailVibrationEnabled(PhoneAccountHandle) Method

Definition

Returns whether vibration is set for voicemail notification in Phone settings.

[Android.Runtime.Register("isVoicemailVibrationEnabled", "(Landroid/telecom/PhoneAccountHandle;)Z", "GetIsVoicemailVibrationEnabled_Landroid_telecom_PhoneAccountHandle_Handler", ApiSince=24)]
public virtual bool IsVoicemailVibrationEnabled (Android.Telecom.PhoneAccountHandle? accountHandle);
[<Android.Runtime.Register("isVoicemailVibrationEnabled", "(Landroid/telecom/PhoneAccountHandle;)Z", "GetIsVoicemailVibrationEnabled_Landroid_telecom_PhoneAccountHandle_Handler", ApiSince=24)>]
abstract member IsVoicemailVibrationEnabled : Android.Telecom.PhoneAccountHandle -> bool
override this.IsVoicemailVibrationEnabled : Android.Telecom.PhoneAccountHandle -> bool

Parameters

accountHandle
PhoneAccountHandle

The handle for the PhoneAccount for which to retrieve the voicemail vibration setting.

Returns

true if the vibration is set for this PhoneAccount, false otherwise.

Attributes

Remarks

Returns whether vibration is set for voicemail notification in Phone settings.

Java documentation for android.telephony.TelephonyManager.isVoicemailVibrationEnabled(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