Language

UsageStats(UsageStats) Constructor

Definition

Creates a record by copying the package data, usage measurements, and activity and service records from stats.

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

Parameters

stats
UsageStats

The statistics whose package, time measurements, counters, and activity and service records are copied.

Attributes

Remarks

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