DevicePresenceEvent.EventSelfManagedAppeared 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 for a self-managed device will receive the callback
CompanionDeviceService#onDevicePresenceEvent(DevicePresenceEvent)
if it reports that a device has appeared on its
own.
[Android.Runtime.Register("EVENT_SELF_MANAGED_APPEARED", 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 EventSelfManagedAppeared = 4;
[<Android.Runtime.Register("EVENT_SELF_MANAGED_APPEARED", 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 EventSelfManagedAppeared : Android.Companion.DevicePresenceEventType
Field Value
Value = 4Implements
- Attributes
Remarks
A companion app for a self-managed device will receive the callback CompanionDeviceService#onDevicePresenceEvent(DevicePresenceEvent)
if it reports that a device has appeared on its own.
Java documentation for android.companion.DevicePresenceEvent.EVENT_SELF_MANAGED_APPEARED
.
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.