SmartWalkingProfile

data class SmartWalkingProfile(val isConnected: Boolean = false, val registeredDeviceId: String? = null, val registeredDeviceType: DeviceType? = null, val registrationDateTime: String? = null)

The member's SmartWalking registration state on the server.

Returned by registration and setup calls (e.g. SmartWalking.registerUser, connectAppleHealthKit, connectGoogleHealthConnect) and reflects whether a health device is currently linked to the member's account. A profile with isConnected = false means no device is registered — the member must complete the setup flow before step data can sync.

This is a snapshot of server state at the time of the call; it is not a live stream. Observe SmartWalking.syncEvents for ongoing sync progress.

Constructors

Link copied to clipboard
constructor(isConnected: Boolean = false, registeredDeviceId: String? = null, registeredDeviceType: DeviceType? = null, registrationDateTime: String? = null)

Properties

Link copied to clipboard

true when a health device is registered and SmartWalking sync is active for this member; false when no device is linked.

Link copied to clipboard

The opaque device identifier recorded at registration (Health Connect device ID, or a consumer-supplied UUID for HealthKit), or null when not connected.

Link copied to clipboard

The health platform the registered device reports through (see DeviceType), or null when not connected.

Link copied to clipboard

The server timestamp of registration as an ISO-8601 string, or null when not connected.