Language

DevicePresenceEvent.EventAssociationRemoved 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 will receives the callback CompanionDeviceService#onDevicePresenceEvent(DevicePresenceEvent) with this event when the AssociationInfo is removed.

[Android.Runtime.Register("EVENT_ASSOCIATION_REMOVED", 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 EventAssociationRemoved = 6;
[<Android.Runtime.Register("EVENT_ASSOCIATION_REMOVED", 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 EventAssociationRemoved : Android.Companion.DevicePresenceEventType

Field Value

Value = 6

Implements

Attributes

Remarks

A companion app will receives the callback CompanionDeviceService#onDevicePresenceEvent(DevicePresenceEvent) with this event when the AssociationInfo is removed.

Java documentation for android.companion.DevicePresenceEvent.EVENT_ASSOCIATION_REMOVED.

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