SecurityLog.TagBluetoothConnection Field
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
This constant will be removed in the future version. Use Android.App.Admin.SecurityLogTags enum directly instead of this field.
Indicates that the device attempts to connect to a Bluetooth device.
[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
Field Value
Value = 210039- Attributes
Remarks
Indicates that the device attempts to connect to a Bluetooth device. The log entry contains the following information about the event, encapsulated in an Object
array and accessible via SecurityEvent#getData()
: <li> [0] The MAC address of the Bluetooth device (String
) <li> [1] Whether the connection is successful (Integer
, 1 if successful, 0 otherwise) <li> [2] Optional human-readable failure reason, empty string if none (String
)
Java documentation for android.app.admin.SecurityLog.TAG_BLUETOOTH_CONNECTION
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.