CompanionDeviceService.OnDeviceDisappeared(String) Method

Definition

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

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

Parameters

address
String

the MAC address of the device

Attributes

Remarks

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