Interface > healthstack.backend.integration.task > TaskClient > uploadTaskResultAsFile
uploadTaskResultAsFile
[androidJvm]
abstract suspend fun uploadTaskResultAsFile(idToken: String, sourcePath: String, targetPath: String)
Uploads the user's task execution result as a file to Backend.
Parameters
androidJvm
idToken | An encrypted token containing the user's information issued when the logs in to the application. |
sourcePath | Absolute path of the result file stored in device. |
targetPath | Bucket path for the result file to be uploaded. |