Scan Client
Functions
Link copied to clipboard
Link copied to clipboard
suspend fun createBodyShapePrediction(payload: BodyShapePredictionPayload): Result<BodyShapePrediction>
Link copied to clipboard
This function registers a new scan in the api. This should be called before uploading any capture data. It is recommended to do this AFTER scan images are successfully captured so that any failed captures will not result in unfinished scans.
Link copied to clipboard
This function deletes a single scan. NOTE: It is a hard delete, and associated data (e.g. avatars) are also deleted.
Link copied to clipboard
Link copied to clipboard
suspend fun getBodyShapePredictionAsset(id: String, option: BodyShapePredictionAssetOption): Result<String>
Link copied to clipboard
Fetches the body circumference measurements for a scan. The measurements are in meters.