Click or drag to resize

MainAPI Class

Nexpaq API, that provides access to nexpaq cloud and other functions
Inheritance Hierarchy
SystemObject
  ErrorClass
    API
      Nexpaq.APIsMainAPI

Namespace:  Nexpaq.APIs
Assembly:  NexpaqCore (in NexpaqCore.dll) Version: 1.0.6767.24310
Syntax
C#
public class MainAPI : API

The MainAPI type exposes the following members.

Constructors
  NameDescription
Public methodMainAPI
Initializes a new instance of the API class.
Top
Methods
  NameDescription
Public methodExit
Exit was requested: exit tile or close app action must be performed
Public methodGetCurrentConfiguration
Gets the current configuration of gateways and modules.
Public methodGetCurrentConfigurationForTransfer
Get serialised configuration eligble for transfer via network or via custom url schemas
Public methodGetProductTypeID
Gets the product type identifier from local products list or cloud.
Public methodInternetAvailable
Checks if internet is available.
Public methodNetworkRequestStream
Makes http request, supports GET, POST and PUT requests
Public methodNetworkRequestString
Makes http request, supports GET, POST and PUT requests
Public methodOnHadrwareBackButtonPressed
Triggers hardware back button pressed event
Public methodStatic memberStaticNetworkRequest
Makes http request, supports GET, POST and PUT requests
Protected methodTriggerError (Inherited from ErrorClass.)
Top
Events
  NameDescription
Public eventBeforeExit
Occur before exit.
Public eventError (Inherited from ErrorClass.)
Public eventExitRequestReceived
Occur when an exit request is received.
Public eventHardwareBackButtonPressed
Happens when hardware back button on device was pressed
Top
Fields
  NameDescription
Public fieldBranch
The branch nexpaq app working with "stable" or "develop".
Public fieldCloud
The cloud API endpoints.
Public fieldCoreVersion
Version of Nexpaq Core
Public fieldDriver
The driver API endpoints.
Public fieldGateway
The gateway API endpoints.
Public fieldManifest
The manifest API endpoints.
Public fieldModule
The module API endpoints.
Public fieldRepository
The repository API endpoints.
Top
See Also