Digital Barriers
Digital Barriers EdgeVis Decoder SDK
Loading...
Searching...
No Matches
PhoneNotificationDetails.h
Go to the documentation of this file.
1
2// Copyright (c) 2017 Digital Barriers
4
15
16
17#pragma once
18#include "EdgeVisSDK.h"
19#include "Pimpl.h"
20
21namespace EdgeVisDecoderSDK
22{
23 class PhoneNotificationDetailsImpl;
24
25 class PhoneNotificationDetails : public EdgeVisSDKPimpl<PhoneNotificationDetailsImpl>
26 {
27 public:
28 DB_EDGEVIS_SDK PhoneNotificationDetails();
29 DB_EDGEVIS_SDK PhoneNotificationDetails(std::wstring phoneNumber, bool enable);
30 EdgeVisSDKPimplWeakConstructor(PhoneNotificationDetails);
31
37 DB_EDGEVIS_SDK std::wstring GetPhoneNumber();
38
44 DB_EDGEVIS_SDK bool IsEnabledForAlarms();
45
52 DB_EDGEVIS_SDK bool SetPhoneNumber(std::wstring phoneNumber);
53
59 DB_EDGEVIS_SDK void SetEnabledForAlarms(bool enable);
60
61 DB_EDGEVIS_SDK virtual ~PhoneNotificationDetails();
62 };
63}
DB_EDGEVIS_SDK bool IsEnabledForAlarms()
Get the is enabled flag for the users phone number.
DB_EDGEVIS_SDK bool SetPhoneNumber(std::wstring phoneNumber)
Sets the phone number for the user.
DB_EDGEVIS_SDK void SetEnabledForAlarms(bool enable)
Enables the phone number for the user.
DB_EDGEVIS_SDK std::wstring GetPhoneNumber()
Get the phone number for the current user.
The EdgeVis Decoder SDK namespace.