語言

BluetoothSocketException.BluetoothOffFailure 欄位

定義

警告

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

錯誤代碼是在一個插座操作中回傳 BluetoothSocket 的,因為藍牙被關閉而失敗。

[Android.Runtime.Register("BLUETOOTH_OFF_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 BluetoothOffFailure = 15;
[<Android.Runtime.Register("BLUETOOTH_OFF_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 BluetoothOffFailure : Android.Bluetooth.BluetoothSocketExceptionReason

欄位值

Value = 15
屬性

備註

錯誤代碼是在一個插座操作中回傳 BluetoothSocket 的,因為藍牙被關閉而失敗。

Java 文件 android.bluetooth.BluetoothSocketException.BLUETOOTH_OFF_FAILURE。

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

適用於