DevicePresenceEvent.EventBtDisconnected Field

Definition

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 = 3

Implements

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.

Applies to