ActivityStatus

data class ActivityStatus(val type: ActivityManager.ActivityLifecycleType, val activity: Activity, val timestamp: Long = getTimestampMilliseconds())

This class allows for activity events to be published as a Flow which can therefore be observed.

Constructors

Link copied to clipboard
constructor(type: ActivityManager.ActivityLifecycleType, activity: Activity, timestamp: Long = getTimestampMilliseconds())

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard