EdgeVisDecoderSDK::PushNotificationDetails Class Reference

Detailed Description

User settings can be configure on the server for notifications.

This class manages the users push notificaations. Whenever a user connects a mobile device the server, it is regestered automatically for notifications

Availability

Available in version 7.1 of Decoder SDK. Requires a server version greater than 7.0

#include <PushNotificationDetails.h>

Public Member Functions

DB_EDGEVIS_SDK std::wstring GetNickname ()
 Get the nickname for this device. More...
 
DB_EDGEVIS_SDK bool IsEnabledForAlarms ()
 Is this device enabled for notifications. More...
 
DB_EDGEVIS_SDK int64_t GetRegisteredTimestamp ()
 Get the timestamp for when this device was first registered. More...
 
DB_EDGEVIS_SDK std::wstring GetDeviceUUID ()
 Get the UUID for this device. More...
 
DB_EDGEVIS_SDK void SetNickname (std::wstring nickname)
 Set the nickname for this device. More...
 
DB_EDGEVIS_SDK void SetEnabledForAlarms (bool enable)
 Set this device enabled for notifications. More...
 

Member Function Documentation

DB_EDGEVIS_SDK std::wstring EdgeVisDecoderSDK::PushNotificationDetails::GetNickname ( )

Get the nickname for this device.

Returns
The devices nickname.
DB_EDGEVIS_SDK bool EdgeVisDecoderSDK::PushNotificationDetails::IsEnabledForAlarms ( )

Is this device enabled for notifications.

Returns
True if device is enabled.
DB_EDGEVIS_SDK int64_t EdgeVisDecoderSDK::PushNotificationDetails::GetRegisteredTimestamp ( )

Get the timestamp for when this device was first registered.

Returns
The device timestamp
DB_EDGEVIS_SDK std::wstring EdgeVisDecoderSDK::PushNotificationDetails::GetDeviceUUID ( )

Get the UUID for this device.

Returns
The devices UUID.
DB_EDGEVIS_SDK void EdgeVisDecoderSDK::PushNotificationDetails::SetNickname ( std::wstring  nickname)

Set the nickname for this device.

Parameters
nicknameThe nickname for this device.
DB_EDGEVIS_SDK void EdgeVisDecoderSDK::PushNotificationDetails::SetEnabledForAlarms ( bool  enable)

Set this device enabled for notifications.

Parameters
enableEnables the device for notifications.

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