Language

SecurityLog.SecurityEvent.Id Property

Definition

Returns the ID of the 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 until they reach the maximum value, then start again at zero. They also reset when the device reboots and when security logging is enabled.

Attributes

Remarks

Event IDs increase until they reach the maximum value, then start again at zero. The ID is also 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