Teanga

HapticFeedbackRequest.Builder.SetFlags(Int32) Method

Definition

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.

Applies to