Megosztás a következőn keresztül:


View.HapticFeedbackEnabled Property

Definition

Set whether this view should have haptic feedback for events such as long presses.

public virtual bool HapticFeedbackEnabled { [Android.Runtime.Register("isHapticFeedbackEnabled", "()Z", "GetIsHapticFeedbackEnabledHandler")] get; [Android.Runtime.Register("setHapticFeedbackEnabled", "(Z)V", "GetSetHapticFeedbackEnabled_ZHandler")] set; }
[<get: Android.Runtime.Register("isHapticFeedbackEnabled", "()Z", "GetIsHapticFeedbackEnabledHandler")>]
[<set: Android.Runtime.Register("setHapticFeedbackEnabled", "(Z)V", "GetSetHapticFeedbackEnabled_ZHandler")>]
member this.HapticFeedbackEnabled : bool with get, set

Property Value

whether this view should have haptic feedback enabled for events such as long presses.

Attributes

Remarks

Property getter documentation:

Java documentation for android.view.View.isHapticFeedbackEnabled().

Property setter documentation:

Set whether this view should have haptic feedback for events such as long presses.

You may wish to disable haptic feedback if your view already controls its own haptic feedback.

Java documentation for android.view.View.setHapticFeedbackEnabled(boolean).

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

See also