DevicePresenceEvent.EventBtDisconnected 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.
Companion app receives
CompanionDeviceService#onDevicePresenceEvent(DevicePresenceEvent)
callback
with this event if the bluetooth device is disconnected.
[Android.Runtime.Register("EVENT_BT_DISCONNECTED", 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 EventBtDisconnected = 3;
[<Android.Runtime.Register("EVENT_BT_DISCONNECTED", 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 EventBtDisconnected : Android.Companion.DevicePresenceEventType
Field Value
Value = 3Implements
- Attributes
Remarks
Companion app receives CompanionDeviceService#onDevicePresenceEvent(DevicePresenceEvent)
callback with this event if the bluetooth device is disconnected.
Java documentation for android.companion.DevicePresenceEvent.EVENT_BT_DISCONNECTED
.
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.