DevicePresenceEvent.EventBleAppeared 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 device comes into BLE range.

[Android.Runtime.Register("EVENT_BLE_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 EventBleAppeared = 0;
[<Android.Runtime.Register("EVENT_BLE_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 EventBleAppeared : Android.Companion.DevicePresenceEventType

Field Value

Value = 0

Implements

Attributes

Remarks

Companion app receives CompanionDeviceService#onDevicePresenceEvent(DevicePresenceEvent) callback with this event if the device comes into BLE range.

Java documentation for android.companion.DevicePresenceEvent.EVENT_BLE_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.

Applies to