Lingua

BluetoothAdapter.IsEnabled Proprietà

Definizione

Restituisce true se Bluetooth è attualmente abilitato e pronto per l'uso.

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

Valore della proprietà

true se l'adattatore locale è attivato

Attributi

Commenti

Restituisce true se Bluetooth è attualmente abilitato e pronto per l'uso.

Equivalente a: getBluetoothState() == STATE_ON

per android.bluetooth.BluetoothAdapter.isEnabled().

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