StreamUserPreferences

@Serializable
data class StreamUserPreferences(val user: User? = null, val apiKey: ApiKey = "", val userToken: UserToken = "", val userDevice: Device? = null)

Stream login user data that is used to be stored in StreamUserDataStore.

Constructors

Link copied to clipboard
constructor(user: User? = null, apiKey: ApiKey = "", userToken: UserToken = "", userDevice: Device? = null)

Properties

Link copied to clipboard

ApiKey information that is used to build a StreamVideo instance for logging in.

Link copied to clipboard
val user: User? = null

User information that is used to build a StreamVideo instance for logging in.

Link copied to clipboard
val userDevice: Device? = null

Device information that is used to be get push notifications from the Stream server.

Link copied to clipboard

UserToken information that is used to build a StreamVideo instance for logging in.