| Applies to: | |
| Product | SureFox |
| Platform | iOS |
SureFox iOS now comes with built-in set of Javascript APIs. Embed them in your web application to perform variety of actions such as refreshing the page or resetting SureFox Idle Timer.
In order to use these methods, make changes in your web page by making functions as: window.location = “sfcallback:reload”
List of methods available:
|
Method |
Syntax |
Description |
| reload | sfcallback:reload | Reloads current page |
| home | sfcallback:home | Go to Home or Run at startup page |
| resetSureFoxIdleTimer | sfcallback:resetSureFoxIdleTimer | Resets the Idle Timer of SureFox |
| getuuid | sfcallback:getuuid:printuuid | Get Device Unique ID |
Examples:
Reload Current WebPage onClick():
onclick="refreshNow()">Refresh Now