GlobalKaliumScope

class GlobalKaliumScope(userAgent: String, globalDatabase: GlobalDatabaseBuilder, globalPreferences: GlobalPrefProvider, kaliumConfigs: KaliumConfigs, userSessionScopeProvider: Lazy<UserSessionScopeProvider>, authenticationScopeProvider: AuthenticationScopeProvider, val logoutCallbackManager: LogoutCallbackManager, val workSchedulerProvider: WorkSchedulerProvider, val audioNormalizedLoudnessBuilder: AudioNormalizedLoudnessBuilder) : CoroutineScope

Scope that exposes all operations that are user and backend agnostic, like

  • Storing and retrieving sessions after authenticating

  • Updating client or device metadata (like push notification token)

  • Getting back-end information from a deeplink

See also

Constructors

Link copied to clipboard
internal constructor(userAgent: String, globalDatabase: GlobalDatabaseBuilder, globalPreferences: GlobalPrefProvider, kaliumConfigs: KaliumConfigs, userSessionScopeProvider: Lazy<UserSessionScopeProvider>, authenticationScopeProvider: AuthenticationScopeProvider, logoutCallbackManager: LogoutCallbackManager, workSchedulerProvider: WorkSchedulerProvider, audioNormalizedLoudnessBuilder: AudioNormalizedLoudnessBuilder)

Properties

Link copied to clipboard
open override val coroutineContext: CoroutineContext
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard