Sdílet prostřednictvím


UsageStats.LastTimeForegroundServiceUsed Property

Definition

Get the last time this package's foreground service was used, measured in milliseconds since the epoch.

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

Property Value

Attributes

Remarks

Get the last time this package's foreground service was used, measured in milliseconds since the epoch. <p/> See System#currentTimeMillis().

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

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