UsageStats.LastTimeForegroundServiceUsed Property
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.
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.