|
char | featureType [3][10] = {"contact","groupchat","channel"} |
|
◆ DcForm()
DcForm::DcForm |
( |
char * | json, |
|
|
char * | jsonArray ) |
|
inline |
- Parameters
-
json | - it is the char array that will contain the whole json script
|
jsonArray | - it is a temporary char array that will contain the Form Components |
- Returns
- void
◆ addFormComponents()
void DcForm::addFormComponents |
( |
char * | component | ) |
|
- Parameters
-
component | - the json of the form component |
- Returns
- void
◆ addReceiver()
void DcForm::addReceiver |
( |
char * | id, |
|
|
char * | featureType ) |
- Parameters
-
id | - the receiver Id to add |
featureType | - the type of the receiver: char* featureType[3][10] = {"contact","groupchat","channel"} |
- Returns
- void
◆ appendFormComponents()
void DcForm::appendFormComponents |
( |
| ) |
|
◆ setObj()
void DcForm::setObj |
( |
bool | submitEnabled, |
|
|
bool | retainStatus, |
|
|
char * | submitText, |
|
|
char * | refName ) |
- Parameters
-
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
The documentation for this class was generated from the following files:
- C:/Users/flavio_unige/Desktop/semilimes MCU SDK/semilimes/src/components/dc_form.h
- C:/Users/flavio_unige/Desktop/semilimes MCU SDK/semilimes/src/components/dc_form.cpp