Composer

class Composer

Types

Companion
Link copied to clipboard
object Companion
Endpoint
Link copied to clipboard
class Endpoint(composerHost: String, apiHost: String)

Functions

clearStoredData
Link copied to clipboard
fun clearStoredData()
Clears stored data, like cookies, visit data
gaClientId
Link copied to clipboard
fun gaClientId(gaClientId: String?): Composer
Sets Google Analytics client id
getExperience
Link copied to clipboard
fun getExperience(request: ExperienceRequest, eventTypeListeners: Collection<EventTypeListener<out EventType>>, exceptionListener: ExceptionListener)
Gets experience from server
trackExternalEvent
Link copied to clipboard
fun trackExternalEvent(trackingId: String)
Tracks external event by id
userToken
Link copied to clipboard
fun userToken(userToken: String?): Composer
Sets user token, which will be sent at each experience request