View.HapticFeedbackEnabled Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.