Language

EventStats(EventStats) Constructor

Definition

Creates a statistics object with the recorded values from another instance.

[Android.Runtime.Register(".ctor", "(Landroid/app/usage/EventStats;)V", "", ApiSince=28)]
public EventStats(Android.App.Usage.EventStats? stats);
[<Android.Runtime.Register(".ctor", "(Landroid/app/usage/EventStats;)V", "", ApiSince=28)>]
new Android.App.Usage.EventStats : Android.App.Usage.EventStats -> Android.App.Usage.EventStats

Parameters

stats
EventStats

The statistics whose event type, time range, duration, and count are copied.

Attributes

Remarks

The new object starts with the same event type, interval boundaries, last event time, total active time, and event count as stats.

Applies to