BluetoothSocketException.SocketClosed 欄位

定義

警告

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

錯誤代碼在一個因套接字關閉而失敗的操作中回傳 BluetoothSocket

[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

欄位值

Value = 17
屬性

備註

錯誤代碼在一個因套接字關閉而失敗的操作中回傳 BluetoothSocket

Java 文件 android.bluetooth.BluetoothSocketException.SOCKET_CLOSED

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

適用於