LoneWorkerCallback

interface LoneWorkerCallback

Functions

Link copied to clipboard
abstract fun loneWorkerSnooze(@Nullable snoozeCallback: STWLoneWorkerManager.SnoozeCallback)
Called when LoneWorker protection feature is set to OFF manually by user from the mobile app.
Link copied to clipboard
abstract fun onLoneWorkerFeatureChanged(enabled: Boolean)
Called when LoneWorker feature is changed
Link copied to clipboard
abstract fun onLoneWorkerServiceScheduled(@NonNull scheduleDate: String)
Called when LoneWorker service scheduled
Link copied to clipboard
abstract fun onLoneWorkerServiceStarted()
Called when LoneWorker service started