31 #ifndef WIFI_CONNECT_PARAM 32 #define WIFI_CONNECT_PARAM 34 #ifndef WiFiConnect_MAX_PARAMS 35 #define WiFiConnect_MAX_PARAMS 10 47 WiFiConnectParam(
const char *
id,
const char *placeholder,
const char *defaultValue,
int length);
48 WiFiConnectParam(
const char *
id,
const char *placeholder,
const char *defaultValue,
int length,
const char *custom);
58 const char *_placeholder;
61 const char *_customHTML;
63 void init(
const char *
id,
const char *placeholder,
const char *defaultValue,
int length,
const char *custom);
int getValueLength()
Function to get the maximum length allowed for the value of the item.
Definition: WiFiConnectParam.cpp:155
void setValue(const char *newValue)
Method to change the current value of the item.
Definition: WiFiConnectParam.cpp:111
const char * getPlaceholder()
Function to get the current placeholder text of the item.
Definition: WiFiConnectParam.cpp:146
Class that stores a custom parameter.
Definition: WiFiConnectParam.h:44
const char * getValue()
Function to get the current value of the item.
Definition: WiFiConnectParam.cpp:128
const char * getID()
Function to get the current id of the item.
Definition: WiFiConnectParam.cpp:137
Class that helps to connect to WiFi networks, that also has captive portal web interface for configur...
Definition: WiFiConnect.h:64
WiFiConnectParam(const char *custom)
Class object initialiser.
Definition: WiFiConnectParam.cpp:39
const char * getCustomHTML()
Function to get the current custom html markup of the item.
Definition: WiFiConnectParam.cpp:164