HubroSessionBuilder

class HubroSessionBuilder(baseUrl: String, tokenVerifier: String) : KoinComponent

This is a KDoc comment.

Return

The return value of the function

Parameters

name

The name of the parameter

Constructors

Link copied to clipboard
constructor(baseUrl: String, tokenVerifier: String)

Types

Link copied to clipboard

Functions

Link copied to clipboard
open fun getKoin(): Koin
Link copied to clipboard
Link copied to clipboard
suspend fun getQuestionnaires(): Any
Link copied to clipboard
suspend fun initialize(username: String, password: String): Any?
Link copied to clipboard
Link copied to clipboard
suspend fun refreshTokens(): Boolean
Link copied to clipboard
suspend fun sendObservations(observations: List<HealthRecord>?): Boolean
Link copied to clipboard
suspend fun sendUsageData(): Boolean
Link copied to clipboard
fun setAccessToken(accessToken: String)
Link copied to clipboard
fun setBaseUrl(baseUrl: String)
Link copied to clipboard
fun setConnectToken(connectToken: String)
Link copied to clipboard
fun setRefreshToken(refreshToken: String)
Link copied to clipboard
fun trackAction(name: String)
Link copied to clipboard
inline fun trackAsAction(name: String, f: () -> Unit)
Link copied to clipboard
suspend fun verify(transactionId: String, code: String): Any