HapticFeedbackRequest.Builder.SetFlags(Int32) Method
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.
Sets the HapticFeedbackConstants flags for the haptic feedback request.
[Android.Runtime.Register("setFlags", "(I)Landroid/os/vibrator/HapticFeedbackRequest$Builder;", "", ApiSince=36)]
public Android.OS.Vibrators.HapticFeedbackRequest.Builder SetFlags(int flags);
[<Android.Runtime.Register("setFlags", "(I)Landroid/os/vibrator/HapticFeedbackRequest$Builder;", "", ApiSince=36)>]
member this.SetFlags : int -> Android.OS.Vibrators.HapticFeedbackRequest.Builder
Parameters
- flags
- Int32
Value is either 0 or a combination of the following: HapticFeedbackConstants.FLAG_IGNORE_VIEW_SETTING; HapticFeedbackConstants.FLAG_IGNORE_GLOBAL_SETTING
Returns
This builder, with its flags set to flags.
- Attributes
Remarks
Sets the HapticFeedbackConstants flags for the haptic feedback request.
Android reference for android.os.vibrator.HapticFeedbackRequest.Builder.setFlags.
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.