Language

NetworkEvent.Id Property

Definition

Returns the ID of the event.

public virtual long Id { [Android.Runtime.Register("getId", "()J", "GetGetIdHandler", ApiSince=28)] get; }
[<get: Android.Runtime.Register("getId", "()J", "GetGetIdHandler", 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 network 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 network logging is enabled.

Java documentation for android.app.admin.NetworkEvent.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