CompanionDeviceService.OnDeviceAppeared(String) Method

Definition

Called by system whenever a device associated with this app is available.

[Android.Runtime.Register("onDeviceAppeared", "(Ljava/lang/String;)V", "GetOnDeviceAppeared_Ljava_lang_String_Handler", ApiSince=31)]
public abstract void OnDeviceAppeared (string address);
[<Android.Runtime.Register("onDeviceAppeared", "(Ljava/lang/String;)V", "GetOnDeviceAppeared_Ljava_lang_String_Handler", ApiSince=31)>]
abstract member OnDeviceAppeared : string -> unit

Parameters

address
String

the MAC address of the device

Attributes

Remarks

Java documentation for android.companion.CompanionDeviceService.onDeviceAppeared(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