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

Structure containing all specific information when creating a confirmation page. More...

#include <nbgl_page.h>

Collaboration diagram for nbgl_pageConfirmationDescription_s:

Public Attributes

nbgl_layoutCenteredInfo_t centeredInfo
 description of the centered info to be used
const char * confirmationText
 text of the confirmation button
const char * cancelText
 the text used for cancel action, if NULL a simple X button 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
bool modal
 if true, page is open as a modal

Detailed Description

Structure containing all specific information when creating a confirmation page.

Definition at line 118 of file nbgl_page.h.

Member Data Documentation

◆ cancelText

const char* nbgl_pageConfirmationDescription_s::cancelText

the text used for cancel action, if NULL a simple X button is used

Definition at line 121 of file nbgl_page.h.

◆ cancelToken

uint8_t nbgl_pageConfirmationDescription_s::cancelToken

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

Definition at line 123 of file nbgl_page.h.

◆ centeredInfo

nbgl_layoutCenteredInfo_t nbgl_pageConfirmationDescription_s::centeredInfo

description of the centered info to be used

Definition at line 119 of file nbgl_page.h.

◆ confirmationText

const char* nbgl_pageConfirmationDescription_s::confirmationText

text of the confirmation button

Definition at line 120 of file nbgl_page.h.

◆ confirmationToken

uint8_t nbgl_pageConfirmationDescription_s::confirmationToken

the token used as argument of the onActionCallback

Definition at line 122 of file nbgl_page.h.

◆ modal

bool nbgl_pageConfirmationDescription_s::modal

if true, page is open as a modal

Definition at line 127 of file nbgl_page.h.

◆ tuneId

tune_index_e nbgl_pageConfirmationDescription_s::tuneId

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

Definition at line 126 of file nbgl_page.h.


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