Langue

GenericDocument.GetPropertyBooleanArray(String) Méthode

Définition

Récupère une propriété répétée boolean par chemin d’accès.

[Android.Runtime.Register("getPropertyBooleanArray", "(Ljava/lang/String;)[Z", "GetGetPropertyBooleanArray_Ljava_lang_String_Handler", ApiSince=31)]
public virtual bool[]? GetPropertyBooleanArray(string path);
[<Android.Runtime.Register("getPropertyBooleanArray", "(Ljava/lang/String;)[Z", "GetGetPropertyBooleanArray_Ljava_lang_String_Handler", ApiSince=31)>]
abstract member GetPropertyBooleanArray : string -> bool[]
override this.GetPropertyBooleanArray : string -> bool[]

Paramètres

path
String

Chemin d’accès à rechercher.

Retours

Associé boolean[] au chemin donné, ou null si aucune valeur n’est définie ou si la valeur est d’un type différent.

Attributs

Remarques

Récupère une propriété répétée boolean par chemin d’accès.

Consultez #getProperty une description détaillée de la syntaxe du chemin d’accès.

Si la propriété n’a pas été définie via Builder#setPropertyBoolean, cette méthode retourne null.

Si elle a été définie sur Builder#setPropertyBoolean une valeur vide boolean[], cette méthode retourne une valeur vide boolean[].

Java documentation pour android.app.appsearch.GenericDocument.getPropertyBooleanArray(java.lang.String).

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

S’applique à