語言

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 位址 (String) <li> [1] 連線是否成功(Integer成功則為 1,否則為 0) <li> [2] 可選的人類可讀失敗原因,若無則為空字串 (String)

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

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

適用於