updateAsync

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

Asynchronously updates preferences related to data consent and marketing communication.

Parameters

preferences

User-defined preferences related to data consent and marketing communication.

cancellationSignal

A CancellationSignal for canceling the operation.

callback

A callback to handle the result or error asynchronously.