Langue

Binder.QueryLocalInterface(String) Méthode

Définition

Utilisez les informations fournies pour #attachInterface attachInterface() retourner l’associé IInterface s’il correspond au descripteur demandé.

[Android.Runtime.Register("queryLocalInterface", "(Ljava/lang/String;)Landroid/os/IInterface;", "GetQueryLocalInterface_Ljava_lang_String_Handler")]
public virtual Android.OS.IInterface? QueryLocalInterface(string descriptor);
[<Android.Runtime.Register("queryLocalInterface", "(Ljava/lang/String;)Landroid/os/IInterface;", "GetQueryLocalInterface_Ljava_lang_String_Handler")>]
abstract member QueryLocalInterface : string -> Android.OS.IInterface
override this.QueryLocalInterface : string -> Android.OS.IInterface

Paramètres

descriptor
String

La valeur ne peut pas être null.

Retours

La valeur retournée peut être null.

Implémente

Attributs

Remarques

Utilisez les informations fournies pour #attachInterface attachInterface() retourner l’associé IInterface s’il correspond au descripteur demandé.

Java documentation pour android.os.Binder.queryLocalInterface(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 à