semilimes mcu sdk 0.1
semilimes Software Development Kit for microcontrollers
Loading...
Searching...
No Matches
DcWebview Class Reference

Public Member Functions

 DcWebview (char *json)
 
void setObj (char *url, bool enableFullScreenView, char *viewSize)
 

Public Attributes

char viewSizeTypes [4][4] = {"1:1", "1:2", "3:2", "2:1"}
 

Constructor & Destructor Documentation

◆ DcWebview()

DcWebview::DcWebview ( char * json)
inline
Parameters
json- it is the char array that will contain the whole json script
Returns
void

Member Function Documentation

◆ setObj()

void DcWebview::setObj ( char * url,
bool enableFullScreenView,
char * viewSize )
Parameters
url- is the address to be rendered in the webview
enableFullScreenView- to enable the fullscreen
viewSize- determines the view proportions. Allowed values are: har viewSizeTypes[4][4] = {"1:1", "1:2", "3:2", "2:1"};
Returns
void

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