語言

BluetoothSocketException.L2capNoPsmAvailable 欄位

定義

警告

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

當 L2CAP 連線無法使用 PSM 時,連線時會出現錯誤代碼。

[Android.Runtime.Register("L2CAP_NO_PSM_AVAILABLE", 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 L2capNoPsmAvailable = 13;
[<Android.Runtime.Register("L2CAP_NO_PSM_AVAILABLE", 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 L2capNoPsmAvailable : Android.Bluetooth.BluetoothSocketExceptionReason

欄位值

Value = 13
屬性

備註

當 L2CAP 連線無法使用 PSM 時,連線時會出現錯誤代碼。

Java 文件 android.bluetooth.BluetoothSocketException.L2CAP_NO_PSM_AVAILABLE。

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

適用於