BluetoothDevice.Error 字段

定义

此类的 Sentinel 错误值。

[Android.Runtime.Register("ERROR")]
public const int Error = -2147483648;
[<Android.Runtime.Register("ERROR")>]
val mutable Error : int

字段值

Value = -2147483648

实现

属性

注解

此类的 Sentinel 错误值。 保证不等于此类中的其他任何整数常量。 为需要 sentinel 错误值的函数提供方便,例如:

Intent.getIntExtra(BluetoothDevice.EXTRA_BOND_STATE, BluetoothDevice.ERROR)

Java文档android.bluetooth.BluetoothDevice.ERROR

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

适用于