MainAPI Class |
Namespace: Nexpaq.APIs
public class MainAPI : API
The MainAPI type exposes the following members.
| Name | Description | |
|---|---|---|
| Exit |
Exit was requested: exit tile or close app action must be performed
| |
| GetCurrentConfiguration |
Gets the current configuration of gateways and modules.
| |
| GetCurrentConfigurationForTransfer |
Get serialised configuration eligble for transfer via network or via custom url schemas
| |
| GetProductTypeID |
Gets the product type identifier from local products list or cloud.
| |
| InternetAvailable |
Checks if internet is available.
| |
| NetworkRequestStream |
Makes http request, supports GET, POST and PUT requests
| |
| NetworkRequestString |
Makes http request, supports GET, POST and PUT requests
| |
| OnHadrwareBackButtonPressed |
Triggers hardware back button pressed event
| |
| StaticNetworkRequest |
Makes http request, supports GET, POST and PUT requests
| |
| TriggerError | (Inherited from ErrorClass.) |
| Name | Description | |
|---|---|---|
| BeforeExit |
Occur before exit.
| |
| Error | (Inherited from ErrorClass.) | |
| ExitRequestReceived |
Occur when an exit request is received.
| |
| HardwareBackButtonPressed |
Happens when hardware back button on device was pressed
|
| Name | Description | |
|---|---|---|
| Branch |
The branch nexpaq app working with "stable" or "develop".
| |
| Cloud |
The cloud API endpoints.
| |
| CoreVersion |
Version of Nexpaq Core
| |
| Driver |
The driver API endpoints.
| |
| Gateway |
The gateway API endpoints.
| |
| Manifest |
The manifest API endpoints.
| |
| Module |
The module API endpoints.
| |
| Repository |
The repository API endpoints.
|