NavigationBarCustomization

data class NavigationBarCustomization(@ColorRes() backgroundColor: Int?, @DimenRes() panelElevation: Int?, headingStyleCustomization: TextCustomization, buttonStyleCustomization: TextCustomization)

Use this class to provide objects that specify user interface customizations for the navigation bar that appears at the top of the challenge screen for 3DS1 and 3DS2, and includes the screen title and the Cancel button.

Parameters

backgroundColor

Background colour resource reference

panelElevation

Elevation resource reference

headingStyleCustomization

Customisation heading text. Unless set otherwise, the default heading text is “Secure checkout” (or the translated equivalent).

buttonStyleCustomization

Customised text for the Cancel button. Unless set otherwise, the default heading text is “Cancel” (or the translated equivalent).

Constructors

NavigationBarCustomization
Link copied to clipboard
fun NavigationBarCustomization(@ColorRes() backgroundColor: Int? = null, @DimenRes() panelElevation: Int? = null, headingStyleCustomization: TextCustomization = TextCustomization(), buttonStyleCustomization: TextCustomization = TextCustomization())

Functions

button
Link copied to clipboard
fun button(block: TextCustomization.() -> Unit)
DSL Method for Navigation Button setup
heading
Link copied to clipboard
fun heading(block: TextCustomization.() -> Unit)
DSL Method for Navigation Heading setup

Properties

backgroundColor
Link copied to clipboard
var backgroundColor: Int? = null
Background colour resource reference
buttonStyleCustomization
Link copied to clipboard
val buttonStyleCustomization: TextCustomization
Customised text for the Cancel button.
headingStyleCustomization
Link copied to clipboard
val headingStyleCustomization: TextCustomization
Customisation heading text.
panelElevation
Link copied to clipboard
var panelElevation: Int? = null
Elevation resource reference