BluetoothSocketException.UnixFileSocketCreationFailure 字段

定义

注意

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

当 UNIX 套接字连接创建失败时,连接期间出现错误代码。

[Android.Runtime.Register("UNIX_FILE_SOCKET_CREATION_FAILURE", ApiSince=35)]
[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 UnixFileSocketCreationFailure = 21;
[<Android.Runtime.Register("UNIX_FILE_SOCKET_CREATION_FAILURE", ApiSince=35)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Bluetooth.BluetoothSocketExceptionReason enum directly instead of this field.", true)>]
val mutable UnixFileSocketCreationFailure : Android.Bluetooth.BluetoothSocketExceptionReason

字段值

Value = 21
属性

注解

当 UNIX 套接字连接创建失败时,连接期间出现错误代码。

Java文档android.bluetooth.BluetoothSocketException.UNIX_FILE_SOCKET_CREATION_FAILURE

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于