Language

SecurityLog.SecurityEvent.Id Property

Definition

Returns the id of the event, where the id monotonically increases for each event.

public long Id { [Android.Runtime.Register("getId", "()J", "", ApiSince=28)] get; }
[<get: Android.Runtime.Register("getId", "()J", "", ApiSince=28)>]
member this.Id : int64

Property Value

The ID of the event. IDs increase for each event. They are set to the start value again when the device reboots and when security logging is enabled.

Attributes

Remarks

Returns the id of the event, where the id monotonically increases for each event. The id is reset when the device reboots, and when security logging is enabled.

Java documentation for android.app.admin.SecurityLog.SecurityEvent.getId().

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.

Applies to