BluetoothSocketException.SocketConnectionFailure 欄位

定義

警告

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

連線時出現一般套接字連線失敗的錯誤代碼。

[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

欄位值

Value = 18
屬性

備註

連線時出現一般套接字連線失敗的錯誤代碼。

Java 文件 android.bluetooth.BluetoothSocketException.SOCKET_CONNECTION_FAILURE

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於