語言

BluetoothDevice.Error 欄位

定義

此類別的哨兵錯誤值。

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

欄位值

Value = -2147483648

實作

屬性

備註

此類別的哨兵錯誤值。 保證不會等於此類別中任何其他整數常數。 為方便需要哨兵誤差值的函數提供,例如:

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

Java 文件 android.bluetooth.BluetoothDevice.ERROR

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

適用於