UsageStats.TotalTimeInForeground Property

Definition

Get the total time this package spent in the foreground, measured in milliseconds.

public long TotalTimeInForeground { [Android.Runtime.Register("getTotalTimeInForeground", "()J", "")] get; }
[<get: Android.Runtime.Register("getTotalTimeInForeground", "()J", "")>]
member this.TotalTimeInForeground : int64

Property Value

Int64
Attributes

Remarks

Java documentation for android.app.usage.UsageStats.getTotalTimeInForeground().

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