Share via


Settings.System.VibrateWhenRinging Field

Definition

Whether the phone vibrates when it is ringing due to an incoming call.

[Android.Runtime.Register("VIBRATE_WHEN_RINGING", ApiSince=23)]
public const string VibrateWhenRinging;
[<Android.Runtime.Register("VIBRATE_WHEN_RINGING", ApiSince=23)>]
val mutable VibrateWhenRinging : string

Field Value

Attributes

Remarks

Whether the phone vibrates when it is ringing due to an incoming call. This will be used by Phone and Setting apps; it shouldn't affect other apps. The value is boolean (1 or 0).

Note: this is not same as "vibrate on ring", which had been available until ICS. It was about AudioManager's setting and thus affected all the applications which relied on the setting, while this is purely about the vibration setting for incoming calls.

This member is deprecated. Replaced by using android.os.VibrationAttributes#USAGE_RINGTONE on vibrations for incoming calls. User settings are applied automatically by the service and should not be applied by individual apps.

Java documentation for android.provider.Settings.System.VIBRATE_WHEN_RINGING.

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