语言

BluetoothGatt.ConnectionPriorityHigh 字段

定义

注意

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

连接参数更新 - 请求高优先级、低延迟连接。

[Android.Runtime.Register("CONNECTION_PRIORITY_HIGH")]
[System.Obsolete("This constant will be removed in the future version. Use Android.Bluetooth.GattConnectionPriority enum directly instead of this field.", true)]
public const Android.Bluetooth.GattConnectionPriority ConnectionPriorityHigh = 1;
[<Android.Runtime.Register("CONNECTION_PRIORITY_HIGH")>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Bluetooth.GattConnectionPriority enum directly instead of this field.", true)>]
val mutable ConnectionPriorityHigh : Android.Bluetooth.GattConnectionPriority

字段值

Value = 1

实现

特性

注解

连接参数更新 - 请求高优先级、低延迟连接。 应用程序应仅请求高优先级连接参数,以便快速通过 LE 传输大量数据。 传输完成后,应用程序应请求 BluetoothGatt#CONNECTION_PRIORITY_BALANCED 连接参数以减少能耗。

Java文档android.bluetooth.BluetoothGatt.CONNECTION_PRIORITY_HIGH。

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

适用于