DevicePresenceEvent.EventSelfManagedDisappeared Field

Definition

Caution

This constant will be removed in the future version. Use Android.Companion.DevicePresenceEventType enum directly instead of this field.

A companion app for a self-managed device will receive the callback CompanionDeviceService#onDevicePresenceEvent(DevicePresenceEvent) if it reports that a device has disappeared on its own.

[Android.Runtime.Register("EVENT_SELF_MANAGED_DISAPPEARED", ApiSince=36)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Companion.DevicePresenceEventType enum directly instead of this field.", true)]
public const Android.Companion.DevicePresenceEventType EventSelfManagedDisappeared = 5;
[<Android.Runtime.Register("EVENT_SELF_MANAGED_DISAPPEARED", ApiSince=36)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Companion.DevicePresenceEventType enum directly instead of this field.", true)>]
val mutable EventSelfManagedDisappeared : Android.Companion.DevicePresenceEventType

Field Value

Value = 5

Implements

Attributes

Remarks

A companion app for a self-managed device will receive the callback CompanionDeviceService#onDevicePresenceEvent(DevicePresenceEvent) if it reports that a device has disappeared on its own.

Java documentation for android.companion.DevicePresenceEvent.EVENT_SELF_MANAGED_DISAPPEARED.

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