Fit At Home
interface FitAtHome
Fit@Home feature — manage selfie submissions for at-home workouts.
This interface provides operations to submit and delete Fit@Home selfies. Implementations connect to backend services; developers only need to call these methods to interact with the feature.
Capabilities
Submit: upload a selfie taken during an at-home session.
Delete: remove a previously submitted selfie by date.
Platform & threading
All functions are
suspendand must be called from a coroutine.Errors surface as
Throwableand should be handled at call sites.
Typical flows
During workout: call submitSelfie when the user takes a selfie.
Managing history: call deleteSelfie to remove a selfie for a given date.