Язык

BluetoothSocketException.BluetoothOffFailure Поле

Определение

Внимание!

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

Код ошибки, возвращаемый BluetoothSocket во время операции сокета, которая завершилась сбоем, так как Bluetooth отключен.

[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

Значение поля

Value = 15
Атрибуты

Комментарии

Код ошибки, возвращаемый BluetoothSocket во время операции сокета, которая завершилась сбоем, так как Bluetooth отключен.

Java документации по android.bluetooth.BluetoothSocketException.BLUETOOTH_OFF_FAILURE.

Части этой страницы — это изменения на основе работы, созданной и общей Project и используемых в соответствии с условиями, описанными в разделе "".

Применяется к