EventStats(EventStats) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.