Embedded SDK
Embedded SDK
Loading...
Searching...
No Matches
nbgl_pageAddressConfirmationDescription_s Struct Reference

Structure containing all specific information when creating a address confirmation page. This page contains the address in a tag/value format, and a white button to dipsplay the same address as a QRCode in a modal window. At the bottom 2 buttons allow to confirm or invalidate the address. More...

#include <nbgl_page.h>

Public Attributes

const char * address
 address to confirm
const char * qrCodeButtonText
 text to display in "QR code button", if NULL "Show as QR is used"
const char * confirmationText
 text of the confirmation button, if NULL "It matches" is used
const char * cancelText
 the text used for cancel action, if NULL "It doesn't matches" is used
uint8_t confirmationToken
 the token used as argument of the onActionCallback
uint8_t cancelToken
tune_index_e tuneId
 if not NBGL_NO_TUNE, a tune will be played when button is pressed

Detailed Description

Structure containing all specific information when creating a address confirmation page. This page contains the address in a tag/value format, and a white button to dipsplay the same address as a QRCode in a modal window. At the bottom 2 buttons allow to confirm or invalidate the address.

Definition at line 136 of file nbgl_page.h.

Member Data Documentation

◆ address

const char* nbgl_pageAddressConfirmationDescription_s::address

address to confirm

Definition at line 137 of file nbgl_page.h.

◆ cancelText

const char* nbgl_pageAddressConfirmationDescription_s::cancelText

the text used for cancel action, if NULL "It doesn't matches" is used

Definition at line 143 of file nbgl_page.h.

◆ cancelToken

uint8_t nbgl_pageAddressConfirmationDescription_s::cancelToken

the token used as argument of the onActionCallback when the cancel button is pressed

Definition at line 145 of file nbgl_page.h.

◆ confirmationText

const char* nbgl_pageAddressConfirmationDescription_s::confirmationText

text of the confirmation button, if NULL "It matches" is used

Definition at line 141 of file nbgl_page.h.

◆ confirmationToken

uint8_t nbgl_pageAddressConfirmationDescription_s::confirmationToken

the token used as argument of the onActionCallback

Definition at line 144 of file nbgl_page.h.

◆ qrCodeButtonText

const char* nbgl_pageAddressConfirmationDescription_s::qrCodeButtonText

text to display in "QR code button", if NULL "Show as QR is used"

Definition at line 139 of file nbgl_page.h.

◆ tuneId

tune_index_e nbgl_pageAddressConfirmationDescription_s::tuneId

if not NBGL_NO_TUNE, a tune will be played when button is pressed

Definition at line 148 of file nbgl_page.h.


The documentation for this struct was generated from the following file: