语言

BluetoothStatusCodes.ErrorMissingBluetoothConnectPermission 字段

定义

注意

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

指示调用方没有权限的 android.Manifest.permission#BLUETOOTH_CONNECT 错误代码。

[Android.Runtime.Register("ERROR_MISSING_BLUETOOTH_CONNECT_PERMISSION", ApiSince=31)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Bluetooth.CurrentBluetoothStatusCodes enum directly instead of this field.", true)]
public const Android.Bluetooth.CurrentBluetoothStatusCodes ErrorMissingBluetoothConnectPermission = 6;
[<Android.Runtime.Register("ERROR_MISSING_BLUETOOTH_CONNECT_PERMISSION", ApiSince=31)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Bluetooth.CurrentBluetoothStatusCodes enum directly instead of this field.", true)>]
val mutable ErrorMissingBluetoothConnectPermission : Android.Bluetooth.CurrentBluetoothStatusCodes

字段值

Value = 6
特性

注解

指示调用方没有权限的 android.Manifest.permission#BLUETOOTH_CONNECT 错误代码。

Java文档android.bluetooth.BluetoothStatusCodes.ERROR_MISSING_BLUETOOTH_CONNECT_PERMISSION。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于