SmartWalkingEvent

sealed class SmartWalkingEvent

Events emitted by SmartWalking during automatic sync, background delivery, and permission monitoring.

Subscribe via com.advantahealth.api.smartwalking.SmartWalking.subscribeToEvents.

Inheritors

Types

Link copied to clipboard

Auto-sync was disabled.

Link copied to clipboard

Auto-sync was enabled.

Link copied to clipboard

HealthKit background delivery fired — new step data is available.

Link copied to clipboard
data object Idle : SmartWalkingEvent
Link copied to clipboard
data class SyncCompleted(val result: AFResult) : SmartWalkingEvent

Automatic sync completed successfully.

Link copied to clipboard
data class SyncFailed(val message: String, val cause: Throwable? = null) : SmartWalkingEvent

Automatic sync failed.

Link copied to clipboard

Automatic sync has started.