Sdílet prostřednictvím


UsageStats.TotalTimeForegroundServiceUsed Property

Definition

Get the total time this package's foreground services are started, measured in milliseconds.

public long TotalTimeForegroundServiceUsed { [Android.Runtime.Register("getTotalTimeForegroundServiceUsed", "()J", "", ApiSince=29)] get; }
[<get: Android.Runtime.Register("getTotalTimeForegroundServiceUsed", "()J", "", ApiSince=29)>]
member this.TotalTimeForegroundServiceUsed : int64

Property Value

Attributes

Remarks

Get the total time this package's foreground services are started, measured in milliseconds.

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

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