Dil

AppUsageDurationQuery.Builder(Int64, Int64, UsageStatsInterval) Constructor

Definition

Constructor that specifies the period for which to return events.

[Android.Runtime.Register(".ctor", "(JJI)V", "", ApiSince=37)]
public Builder(long startTimeMillis, long endTimeMillis, Android.App.Usage.UsageStatsInterval intervalType);
[<Android.Runtime.Register(".ctor", "(JJI)V", "", ApiSince=37)>]
new Android.App.Usage.AppUsageDurationQuery.Builder : int64 * int64 * Android.App.Usage.UsageStatsInterval -> Android.App.Usage.AppUsageDurationQuery.Builder

Parameters

startTimeMillis
Int64

inclusive start timestamp, as per java.lang.System#currentTimeMillis()

endTimeMillis
Int64

exclusive end timestamp, as per java.lang.System#currentTimeMillis()

intervalType
UsageStatsInterval

time interval by which the stats are aggregated.

Attributes

Remarks

Constructor that specifies the period for which to return events.

Android reference for android.app.usage.AppUsageDurationQuery.Builder.Builder.

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