Lenguaje

BluetoothAdapter.IsEnabled Propiedad

Definición

Devuelve true si Bluetooth está habilitado actualmente y listo para su uso.

public bool IsEnabled { [Android.Runtime.Register("isEnabled", "()Z", "")] get; }
[<get: Android.Runtime.Register("isEnabled", "()Z", "")>]
member this.IsEnabled : bool

Valor de propiedad

true si el adaptador local está activado

Atributos

Comentarios

Devuelve true si Bluetooth está habilitado actualmente y listo para su uso.

Equivalente a getBluetoothState() == STATE_ON.

Java documentación para android.bluetooth.BluetoothAdapter.isEnabled().

Las partes de esta página son modificaciones basadas en el trabajo creado y compartido por el Android y se usan según los términos descritos en creative Creative Commons 2.5 Attribution License.

Se aplica a