语言

SecurityLog.TagBluetoothConnection 字段

定义

注意

This constant will be removed in the future version. Use Android.App.Admin.SecurityLogTags enum directly instead of this field.

指示设备尝试连接到蓝牙设备。

[Android.Runtime.Register("TAG_BLUETOOTH_CONNECTION", ApiSince=33)]
[System.Obsolete("This constant will be removed in the future version. Use Android.App.Admin.SecurityLogTags enum directly instead of this field.", true)]
public const Android.App.Admin.SecurityLogTags TagBluetoothConnection = 210039;
[<Android.Runtime.Register("TAG_BLUETOOTH_CONNECTION", ApiSince=33)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.App.Admin.SecurityLogTags enum directly instead of this field.", true)>]
val mutable TagBluetoothConnection : Android.App.Admin.SecurityLogTags

字段值

Value = 210039
特性

注解

指示设备尝试连接到蓝牙设备。 日志条目包含以下有关事件的信息,封装在数组中Object,可通过 SecurityEvent#getData():<li> [0] 蓝牙设备的 MAC 地址 () <li> [1] 连接是否成功(IntegerString如果成功,1 如果成功,则为 0;否则为 0)<li> [2] 可选的可读失败原因,空字符串(如果无(String)

Java文档android.app.admin.SecurityLog.TAG_BLUETOOTH_CONNECTION。

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

适用于