StreamUserDataStore
class StreamUserDataStore(dataStore: DataStore<StreamUserPreferences?>) : DataStore<StreamUserPreferences?>
A DataStore managers to persist Stream user login data safely, consistently, and transactionally.
Parameters
dataStore
A DataStore that contains data type of StreamUserPreferences.
Properties
Functions
Link copied to clipboard
Clear the persisted all user data.
Link copied to clipboard
Update ApiKey information that is used to build a StreamVideo
instance for logging in.
Link copied to clipboard
Update User information that is used to build a StreamVideo
instance for logging in.
Link copied to clipboard
Update Device information that is used to be get push notifications from the Stream server.
Link copied to clipboard
Update user preferences with the give StreamUserPreferences.
Link copied to clipboard
Update UserToken information that is used to build a StreamVideo
instance for logging in.
Inherited functions
Link copied to clipboard
open suspend override fun updateData(transform: suspend (t: StreamUserPreferences?) -> StreamUserPreferences?): StreamUserPreferences?