Sdílet prostřednictvím


HapticFeedbackConstants.FlagIgnoreGlobalSetting Field

Definition

Flag for View#performHapticFeedback(int, int) View.performHapticFeedback(int, int): Ignore the global setting for whether to perform haptic feedback, do it always.

[Android.Runtime.Register("FLAG_IGNORE_GLOBAL_SETTING")]
public const Android.Views.FeedbackFlags FlagIgnoreGlobalSetting = 2;
[<Android.Runtime.Register("FLAG_IGNORE_GLOBAL_SETTING")>]
val mutable FlagIgnoreGlobalSetting : Android.Views.FeedbackFlags

Field Value

Value = 2
Attributes

Remarks

Flag for View#performHapticFeedback(int, int) View.performHapticFeedback(int, int): Ignore the global setting for whether to perform haptic feedback, do it always.

This member is deprecated. Starting from android.os.Build.VERSION_CODES#TIRAMISU only privileged apps can ignore user settings for touch feedback.

Java documentation for android.view.HapticFeedbackConstants.FLAG_IGNORE_GLOBAL_SETTING.

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