Share via


BluetoothSocketException.BluetoothOffFailure Field

Definition

Caution

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

Error code during connect when Bluetooth is off and socket connection is triggered.

[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

Field Value

Value = 15
Attributes

Remarks

Error code during connect when Bluetooth is off and socket connection is triggered.

Java documentation for android.bluetooth.BluetoothSocketException.BLUETOOTH_OFF_FAILURE.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to