VibrationAttributes.Builder.SetFlags(Int32, 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 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
Combination of flags to be set. Value is either 0 or a combination of the following: VibrationAttributes.FLAG_BYPASS_INTERRUPTION_POLICY
- 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.