Partager via


RestrictionEntry Constructeurs

Définition

Surcharges

RestrictionEntry(Parcel)

Constructeur pour spécifier le type et la clé, sans valeur initiale ;

RestrictionEntry(RestrictionEntryType, String)

Constructeur pour spécifier le type et la clé, sans valeur initiale ;

RestrictionEntry(IntPtr, JniHandleOwnership)

Constructeur utilisé lors de la création de représentations managées d’objets JNI ; appelée par le runtime.

RestrictionEntry(String, Boolean)

Constructeur pour #TYPE_BOOLEAN le type.

RestrictionEntry(String, Int32)

Constructeur pour #TYPE_INTEGER le type.

RestrictionEntry(String, String)

Constructeur pour #TYPE_CHOICE le type.

RestrictionEntry(String, String[])

Constructeur pour #TYPE_MULTI_SELECT le type.

RestrictionEntry(Parcel)

Constructeur pour spécifier le type et la clé, sans valeur initiale ;

[Android.Runtime.Register(".ctor", "(Landroid/os/Parcel;)V", "")]
public RestrictionEntry(Android.OS.Parcel? in);
[<Android.Runtime.Register(".ctor", "(Landroid/os/Parcel;)V", "")>]
new Android.Content.RestrictionEntry : Android.OS.Parcel -> Android.Content.RestrictionEntry

Paramètres

in
Parcel
Attributs

Remarques

Documentation Java pour android.content.RestrictionEntry.RestrictionEntry(int, java.lang.String).

Les parties de cette page sont des modifications basées sur le travail créé et partagé par le projet Android Open Source et utilisés en fonction des termes décrits dans la licence d’attribution Creative Commons 2.5.

S’applique à

RestrictionEntry(RestrictionEntryType, String)

Constructeur pour spécifier le type et la clé, sans valeur initiale ;

[Android.Runtime.Register(".ctor", "(ILjava/lang/String;)V", "")]
public RestrictionEntry(Android.Content.RestrictionEntryType type, string? key);
[<Android.Runtime.Register(".ctor", "(ILjava/lang/String;)V", "")>]
new Android.Content.RestrictionEntry : Android.Content.RestrictionEntryType * string -> Android.Content.RestrictionEntry

Paramètres

type
RestrictionEntryType

type de restriction.

key
String

clé unique pour cette restriction

Attributs

Remarques

Constructeur pour spécifier le type et la clé, sans valeur initiale ;

Documentation Java pour android.content.RestrictionEntry.RestrictionEntry(int, java.lang.String).

Les parties de cette page sont des modifications basées sur le travail créé et partagé par le projet Android Open Source et utilisés en fonction des termes décrits dans la licence d’attribution Creative Commons 2.5.

S’applique à

RestrictionEntry(IntPtr, JniHandleOwnership)

Constructeur utilisé lors de la création de représentations managées d’objets JNI ; appelée par le runtime.

protected RestrictionEntry(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Content.RestrictionEntry : nativeint * Android.Runtime.JniHandleOwnership -> Android.Content.RestrictionEntry

Paramètres

javaReference
IntPtr

nativeint

Contenant IntPtrune référence d’objet Java Native Interface (JNI).

transfer
JniHandleOwnership

Indiquant JniHandleOwnershipcomment gérer javaReference

Remarques

Les parties de cette page sont des modifications basées sur le travail créé et partagé par le projet Android Open Source et utilisés en fonction des termes décrits dans la licence d’attribution Creative Commons 2.5.

S’applique à

RestrictionEntry(String, Boolean)

Constructeur pour #TYPE_BOOLEAN le type.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Z)V", "")]
public RestrictionEntry(string? key, bool selectedState);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Z)V", "")>]
new Android.Content.RestrictionEntry : string * bool -> Android.Content.RestrictionEntry

Paramètres

key
String

clé unique pour cette restriction

selectedState
Boolean

si cette restriction est sélectionnée ou non

Attributs

Remarques

Constructeur pour #TYPE_BOOLEAN le type.

Documentation Java pour android.content.RestrictionEntry.RestrictionEntry(java.lang.String, boolean).

Les parties de cette page sont des modifications basées sur le travail créé et partagé par le projet Android Open Source et utilisés en fonction des termes décrits dans la licence d’attribution Creative Commons 2.5.

S’applique à

RestrictionEntry(String, Int32)

Constructeur pour #TYPE_INTEGER le type.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;I)V", "")]
public RestrictionEntry(string? key, int selectedInt);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;I)V", "")>]
new Android.Content.RestrictionEntry : string * int -> Android.Content.RestrictionEntry

Paramètres

key
String

clé unique pour cette restriction

selectedInt
Int32

la valeur entière de la restriction

Attributs

Remarques

Constructeur pour #TYPE_INTEGER le type.

Documentation Java pour android.content.RestrictionEntry.RestrictionEntry(java.lang.String, int).

Les parties de cette page sont des modifications basées sur le travail créé et partagé par le projet Android Open Source et utilisés en fonction des termes décrits dans la licence d’attribution Creative Commons 2.5.

S’applique à

RestrictionEntry(String, String)

Constructeur pour #TYPE_CHOICE le type.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;)V", "")]
public RestrictionEntry(string? key, string? selectedString);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;)V", "")>]
new Android.Content.RestrictionEntry : string * string -> Android.Content.RestrictionEntry

Paramètres

key
String

clé unique pour cette restriction

selectedString
String

valeur actuelle

Attributs

Remarques

Constructeur pour #TYPE_CHOICE le type.

Documentation Java pour android.content.RestrictionEntry.RestrictionEntry(java.lang.String, java.lang.String).

Les parties de cette page sont des modifications basées sur le travail créé et partagé par le projet Android Open Source et utilisés en fonction des termes décrits dans la licence d’attribution Creative Commons 2.5.

S’applique à

RestrictionEntry(String, String[])

Constructeur pour #TYPE_MULTI_SELECT le type.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;[Ljava/lang/String;)V", "")]
public RestrictionEntry(string? key, string[]? selectedStrings);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;[Ljava/lang/String;)V", "")>]
new Android.Content.RestrictionEntry : string * string[] -> Android.Content.RestrictionEntry

Paramètres

key
String

clé unique pour cette restriction

selectedStrings
String[]

liste des valeurs actuellement sélectionnées

Attributs

Remarques

Constructeur pour #TYPE_MULTI_SELECT le type.

Documentation Java pour android.content.RestrictionEntry.RestrictionEntry(java.lang.String, java.lang.String[]).

Les parties de cette page sont des modifications basées sur le travail créé et partagé par le projet Android Open Source et utilisés en fonction des termes décrits dans la licence d’attribution Creative Commons 2.5.

S’applique à