getSecureDetailsViewsAsync

Obtain custom Android Views displaying card sensitive details.

The sensitive details are rendered on a transparent background using the pswTextAppearanceCardPan, pswTextAppearanceCardCvv, pswTextAppearanceCardExpiry, pswTextAppearanceCardholderName text appearances. The views can have an optional copy button for each sensitive detail. The button drawable can be changed by setting the pswIconCopyButton theme attribute. A custom theme can be provided upon Wallet configuration with the configure() method.

Return

A CardSecureDetailsViews object containing Views for the card PAN, CVV, expiry and cardholder name.

Parameters

request

A CardSecureDetailsViewRequest object with card ID and other configurations.

cancellationSignal

A signal for canceling the asynchronous operation (nullable).

callback

The callback to be invoked upon completion or error.