PreferencesService

Service responsible for retrieving and updating marketing and data preferences.

Functions

Link copied to clipboard
abstract suspend fun get(): Preferences

Retrieves preferences related to data consent and marketing communication.

Link copied to clipboard
open fun getAsync(cancellationSignal: CancellationSignal?, callback: WalletCallback<Preferences>)

Asynchronously retrieves preferences related to data consent and marketing communication.

Link copied to clipboard
abstract suspend fun update(preferences: Preferences): Preferences

Updates preferences related to data consent and marketing communication.

Link copied to clipboard
open fun updateAsync(preferences: Preferences, cancellationSignal: CancellationSignal?, callback: WalletCallback<Preferences>)

Asynchronously updates preferences related to data consent and marketing communication.