Udostępnij za pośrednictwem


NetworkEvent.Id Property

Definition

Returns the id of the event, where the id monotonically increases for each 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

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 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