AppUsageDuration(String, Int64, Int64, Int64) 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.
Constructor for AppUsageDuration.
[Android.Runtime.Register(".ctor", "(Ljava/lang/String;JJJ)V", "", ApiSince=37)]
public AppUsageDuration(string packageName, long totalUsageDurationMillis, long startTimeMillis, long endTimeMillis);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;JJJ)V", "", ApiSince=37)>]
new Android.App.Usage.AppUsageDuration : string * int64 * int64 * int64 -> Android.App.Usage.AppUsageDuration
Parameters
- packageName
- String
package name of the app
- totalUsageDurationMillis
- Int64
total duration the app was used, in milliseconds
- startTimeMillis
- Int64
start of the time range for which the usage duration is valid, in milliseconds since epoch
- endTimeMillis
- Int64
end of the time range for which the usage duration is valid, in milliseconds since epoch
- Attributes