Udostępnij za pośrednictwem


BluetoothSocketException.SocketClosed 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 socket is closed.

[Android.Runtime.Register("SOCKET_CLOSED", 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 SocketClosed = 17;
[<Android.Runtime.Register("SOCKET_CLOSED", 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 SocketClosed : Android.Bluetooth.BluetoothSocketExceptionReason

Field Value

Value = 17
Attributes

Remarks

Error code during connect when socket is closed.

Java documentation for android.bluetooth.BluetoothSocketException.SOCKET_CLOSED.

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