SLActivityRecognitionService

class SLActivityRecognitionService(androidContext: Context, receiver: SLDetectedActivityReceiver, monitor: SLMonitor?)

Service which reads and caches user activity

Note: Need ACTIVITY_RECOGNITION permission before started

Constructors

Link copied to clipboard
constructor(androidContext: Context, receiver: SLDetectedActivityReceiver, monitor: SLMonitor?)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
Link copied to clipboard
fun start()
Link copied to clipboard
fun stop()