getAsync

open fun getAsync(categories: List<String>?, cancellationSignal: CancellationSignal?, callback: WalletCallback<CommunicationPreferences>)

Asynchronously retrieves the customer's communication preferences.

Parameters

categories

An optional list of category codes to filter the response.

cancellationSignal

A signal for canceling the asynchronous operation (nullable).

callback

The callback to be invoked upon completion or error.