Embedded SDK
Embedded SDK
Public Attributes | List of all members
nbgl_contentSwitch_t Struct Reference

This structure contains info to build a switch (on the right) with a description (on the left), with a potential sub-description (in gray) More...

#include <nbgl_content.h>

Public Attributes

const char * text
 main text for the switch More...
 
const char * subText
 description under main text (NULL terminated, single line, may be null) More...
 
nbgl_state_t initState
 initial state of the switch More...
 
uint8_t token
 the token that will be used as argument of the callback More...
 

Detailed Description

This structure contains info to build a switch (on the right) with a description (on the left), with a potential sub-description (in gray)

Definition at line 246 of file nbgl_content.h.

Member Data Documentation

◆ initState

nbgl_state_t nbgl_contentSwitch_t::initState

initial state of the switch

Definition at line 250 of file nbgl_content.h.

◆ subText

const char* nbgl_contentSwitch_t::subText

description under main text (NULL terminated, single line, may be null)

Definition at line 249 of file nbgl_content.h.

◆ text

const char* nbgl_contentSwitch_t::text

main text for the switch

Definition at line 247 of file nbgl_content.h.

◆ token

uint8_t nbgl_contentSwitch_t::token

the token that will be used as argument of the callback

Definition at line 251 of file nbgl_content.h.


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