语言

Settings.System.BluetoothDiscoverability 字段

定义

确定远程设备是否可以发现和/或连接到此设备。

[Android.Runtime.Register("BLUETOOTH_DISCOVERABILITY")]
public const string BluetoothDiscoverability;
[<Android.Runtime.Register("BLUETOOTH_DISCOVERABILITY")>]
val mutable BluetoothDiscoverability : string

字段值

特性

注解

确定远程设备是否可以发现和/或连接到此设备。

类型:INT

2 - 可发现和可连接 1 - 可连接但不可发现 0 - 既不可连接,也不能发现

Java文档android.provider.Settings.System.BLUETOOTH_DISCOVERABILITY。

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

适用于