Duress Call API

Duress Call API

NAOSDK – Duress Call API

An interface that allows you to send a duress call to NAOCloud with the alert level.

 

NAOSDK API

Android

 - boolean fireButtonPressedAlert(Context context, String alertName, TALERTLEVEL level)

 

iOS

 - BOOL fireButtonPressedAlert:(NString*) name andLevel: (DBALERTLEVEL) level

 

Alerts levels are defined as follows :

 /** All level for button pressed alert */ 
public enum TALERTLEVEL { 
       ALERT, 
       WARNING, 
       NOTICE, 
       INFO, 
       ; 
}

Example usage

    • Related Articles

    • Oauth2 authentication

      NAO Cloud can act as an Oauth2 resource and authorization server. Overview The benefits of Oauth2 authentication is two-fold: Users log in once on NAO Cloud, and automatically get logged-in to your site Your site gets an access token to authenticate ...
    • Getting maps metadata

      Each NAO Cloud site has 1 or more buildings. Each building has 1 or more floors. The metadata of each site, building and floor can be retrieved via the REST API. Buildings To get information of all the buildings of the site, use the following API: ...
    • API Reference

      Android API Reference
    • API Reference

      iOS API Reference
    • Location API

      Overview Location API can be used to receive location information about all tags of a given site. Once subscribed to a topic, your application will receive MQTT messages. Each message contains a topic and a payload. Refer ot the “Connection and ...