Lingua

DevicePresenceEvent.EventBtConnected Campo

Definizione

Attenzione

This constant will be removed in the future version. Use Android.Companion.DevicePresenceEventType enum directly instead of this field.

L'app complementare riceve CompanionDeviceService#onDevicePresenceEvent(DevicePresenceEvent) il callback con questo evento quando il dispositivo Bluetooth è connesso.

[Android.Runtime.Register("EVENT_BT_CONNECTED", 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 EventBtConnected = 2;
[<Android.Runtime.Register("EVENT_BT_CONNECTED", 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 EventBtConnected : Android.Companion.DevicePresenceEventType

Valore del campo

Value = 2

Implementazioni

Attributi

Commenti

L'app complementare riceve CompanionDeviceService#onDevicePresenceEvent(DevicePresenceEvent) il callback con questo evento quando il dispositivo Bluetooth è connesso.

per android.companion.DevicePresenceEvent.EVENT_BT_CONNECTED.

Le parti di questa pagina sono modifiche basate sul lavoro creato e condiviso dalla e usati in base ai termini descritti in Creative License 2.5 Attribution License.

Si applica a