getAsync

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

Asynchronously retrieves preferences related to data consent and marketing communication.

Parameters

cancellationSignal

A CancellationSignal for canceling the operation.

callback

A callback to handle the result or error asynchronously.