Interface > healthstack.backend.integration.task > TaskClient > getTasks
getTasks
[androidJvm]
abstract suspend fun getTasks(idToken: String, lastSyncTime: LocalDateTime, endTime: LocalDateTime = LocalDateTime.now(Clock.systemUTC())): List<TaskSpec>
Retrieves the task that has been published since the lastSyncTime the task was retrieved.
Return
Parameters
androidJvm
idToken | An encrypted token containing the user's information issued when the logs in to the application. |
lastSyncTime | Get tasks that published after lastSyncTime |
endTime | Retrieves all tasks created before endTime |