Udostępnij za pośrednictwem


Settings.System.HapticFeedbackEnabled Field

Definition

Whether haptic feedback (Vibrate on tap) is enabled.

[Android.Runtime.Register("HAPTIC_FEEDBACK_ENABLED")]
public const string HapticFeedbackEnabled;
[<Android.Runtime.Register("HAPTIC_FEEDBACK_ENABLED")>]
val mutable HapticFeedbackEnabled : string

Field Value

Attributes

Remarks

Whether haptic feedback (Vibrate on tap) is enabled. The value is boolean (1 or 0).

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

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

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