Language

VibrationAttributes.Builder.SetFlags(Int32, Int32) Method

Definition

Sets only the flags specified in the bitmask, leaving the other supported flag values unchanged in the builder.

[Android.Runtime.Register("setFlags", "(II)Landroid/os/VibrationAttributes$Builder;", "", ApiSince=30)]
public Android.OS.VibrationAttributes.Builder SetFlags(int flags, int mask);
[<Android.Runtime.Register("setFlags", "(II)Landroid/os/VibrationAttributes$Builder;", "", ApiSince=30)>]
member this.SetFlags : int * int -> Android.OS.VibrationAttributes.Builder

Parameters

flags
Int32

The flags to set, such as the integer value of BypassInterruptionPolicy.

mask
Int32

Bit range that should be changed.

Returns

the same Builder instance. This value cannot be null.

Attributes

Remarks

Sets only the flags specified in the bitmask, leaving the other supported flag values unchanged in the builder.

Java documentation for android.os.VibrationAttributes.Builder.setFlags(int, int).

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