Skip to the content.

//[](../../../../index.html)/[pro.streem.sdk](../../index.html)/[Streem](../index.html)/[Configuration](index.html)

Configuration

[androidJvm]
data class Configuration(val application: Application, val appId: CharSequence, val environment: Streem.Environment? = null, val tokenRefresher: TokenRefresher? = null)

Parameters

androidJvm

   
application the calling application
appId application’s ID provided by Streem.

Constructors

   
Configuration [androidJvm]
fun Configuration(application: Application, appId: CharSequence, environment: Streem.Environment? = null, errorListener: (Throwable) -> Unit?)
Configuration [androidJvm]
fun Configuration(application: Application, appId: CharSequence, environment: Streem.Environment? = null, tokenRefresher: TokenRefresher? = null)

Types

Name Summary
Builder [androidJvm]
class Builder
Companion [androidJvm]
object Companion

Properties

Name Summary
appId [androidJvm]
val appId: CharSequence
application [androidJvm]
val application: Application
environment [androidJvm]
val environment: Streem.Environment? = null
globalErrorListener [androidJvm]
var globalErrorListener: (Throwable) -> Unit? = null
tokenRefresher [androidJvm]
val tokenRefresher: TokenRefresher? = null