Share via


Binder.QueryLocalInterface(String) Method

Definition

Use information supplied to #attachInterface attachInterface() to return the associated IInterface if it matches the requested descriptor.

[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

Parameters

descriptor
String

Returns

Implements

Attributes

Remarks

Use information supplied to #attachInterface attachInterface() to return the associated IInterface if it matches the requested descriptor.

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