DevicePresenceEvent.EventAssociationRemoved Field
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 = 6Implements
- 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.