BluetoothSocketException.BluetoothOffFailure Champ

Définition

Attention

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

Code d’erreur retourné par BluetoothSocket lors d’une opération de socket qui a échoué, car Bluetooth est désactivé.

[Android.Runtime.Register("BLUETOOTH_OFF_FAILURE", ApiSince=34)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Bluetooth.BluetoothSocketExceptionReason enum directly instead of this field.", true)]
public const Android.Bluetooth.BluetoothSocketExceptionReason BluetoothOffFailure = 15;
[<Android.Runtime.Register("BLUETOOTH_OFF_FAILURE", ApiSince=34)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Bluetooth.BluetoothSocketExceptionReason enum directly instead of this field.", true)>]
val mutable BluetoothOffFailure : Android.Bluetooth.BluetoothSocketExceptionReason

Valeur de champ

Value = 15
Attributs

Remarques

Code d’erreur retourné par BluetoothSocket lors d’une opération de socket qui a échoué, car Bluetooth est désactivé.

Java documentation pour android.bluetooth.BluetoothSocketException.BLUETOOTH_OFF_FAILURE.

Les parties de cette page sont des modifications basées sur le travail créé et partagé par Android Open Source et utilisées en fonction des termes décrits dans la Creative Commons 2.5 Attribution License.

S’applique à