BluetoothSocketException.SocketManagerFailure 欄位

定義

警告

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

在 socket 操作中回傳 BluetoothSocket 的錯誤代碼,因 socket manager 無法使用而失敗。

[Android.Runtime.Register("SOCKET_MANAGER_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 SocketManagerFailure = 16;
[<Android.Runtime.Register("SOCKET_MANAGER_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 SocketManagerFailure : Android.Bluetooth.BluetoothSocketExceptionReason

欄位值

Value = 16
屬性

備註

在 socket 操作中回傳 BluetoothSocket 的錯誤代碼,因 socket manager 無法使用而失敗。

Java 文件 android.bluetooth.BluetoothSocketException.SOCKET_MANAGER_FAILURE

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

適用於