ThanklyConfig

constructor(apiHost: String, tokenProvider: TokenProvider, pollIntervalMs: Long, maxPollAttempts: Int = 60)

Parameters

apiHost

base URL, with or without a trailing slash.

tokenProvider

supplies the access token; see TokenProvider.

pollIntervalMs

delay between GET /experiences/{id} polls.

maxPollAttempts

polls before giving up — 2s x 60 is two minutes.