semilimes mcu sdk 1.0.1
semilimes Software Development Kit for microcontrollers
Loading...
Searching...
No Matches
DcForm Class Reference

Public Member Functions

 ~DcForm ()
 
void set (char *recId, char *recFeatureType, bool submitEnabled, bool retainStatus, char *submitText, char *refName)
 
void addFormComponents (char *component)
 
void appendFormComponents ()
 
char * get ()
 

Public Attributes

char featureType [3][10] = {"contact","groupchat","channel"}
 

Constructor & Destructor Documentation

◆ ~DcForm()

DcForm::~DcForm ( )
inline
Returns
void

Member Function Documentation

◆ addFormComponents()

void DcForm::addFormComponents ( char * component)
Parameters
component- the json of the form component
Returns
void

◆ appendFormComponents()

void DcForm::appendFormComponents ( )
Returns
void

◆ get()

char * DcForm::get ( )
Returns
char*

◆ set()

void DcForm::set ( char * recId,
char * recFeatureType,
bool submitEnabled,
bool retainStatus,
char * submitText,
char * refName )
Parameters
recId- the receiver Id
recFeatureType- the type of the receiver: char* featureType[3][10] = {"contact","groupchat","channel"}
submitEnabled- enables the Submit button to be pressed before the form is actually submitted. Otherwise, the form will be submitted each time a user fills in/change values of a form component.
retainStatus- enables the form to maintain the last submitted values when the use case requires many users to operate the same form
submitText- is the text to be displayed in the Submit button of the form
refName- is a friendly name given to the form for later reference when filtering form submissions from clients.
Returns
void

Member Data Documentation

◆ featureType

char DcForm::featureType[3][10] = {"contact","groupchat","channel"}
Parameters
charfeatureType[3][10] = {"contact","groupchat","channel"};

The documentation for this class was generated from the following files: