Partager via


BluetoothSocketException.SocketConnectionFailure 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 for generic socket connection failures.

[Android.Runtime.Register("SOCKET_CONNECTION_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 SocketConnectionFailure = 18;
[<Android.Runtime.Register("SOCKET_CONNECTION_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 SocketConnectionFailure : Android.Bluetooth.BluetoothSocketExceptionReason

Field Value

Value = 18
Attributes

Remarks

Error code during connect for generic socket connection failures.

Java documentation for android.bluetooth.BluetoothSocketException.SOCKET_CONNECTION_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