Udostępnij za pośrednictwem


IntFlagMapping.Add(Int32, Int32, String) Method

Definition

Add a mutually exclusive flag to the map.

[Android.Runtime.Register("add", "(IILjava/lang/String;)V", "", ApiSince=29)]
public void Add (int mask, int target, string name);
[<Android.Runtime.Register("add", "(IILjava/lang/String;)V", "", ApiSince=29)>]
member this.Add : int * int * string -> unit

Parameters

mask
Int32

The bit mask to compare to and with a value

target
Int32

The target value to compare the masked value with

name
String

The name of the flag to include if enabled

Attributes

Remarks

Add a mutually exclusive flag to the map.

Java documentation for android.view.inspector.IntFlagMapping.add(int, int, java.lang.String).

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