zdk.net
PushConfig.h
1 //
2 // PushConfig.h
3 // ZDK
4 //
5 
6 #ifndef ZDK_NET_PushConfig_h
7 #define ZDK_NET_PushConfig_h
8 
9 #include "native_shared_ptr.h"
10 #include "PublicInterfaces.h"
11 #include "TransportType.h"
12 #include "ZHandle.h"
13 
14 using namespace System::Collections::Generic;
15 
16 namespace ZDK_NET
17 {
18  ref class PushConfig;
19 
24  public ref class PushConfig : ZHandle
25  {
26  public:
27  ZDK::IPushConfig* cppRef = nullptr;
28 
29  PushConfig(ZDK::Shared::PushConfig src);
30  ~PushConfig();
32 
39  property bool Enabled
40  {
41  bool get();
42  void set(bool value);
43  }
44 
51  property bool RtpMediaProxy
52  {
53  bool get();
54  void set(bool value);
55  }
56 
63  property ZDK_NET::TransportType Transport
64  {
65  ZDK_NET::TransportType get();
66  void set(ZDK_NET::TransportType value);
67  }
68 
73  property System::String^ URI
74  {
75  System::String^ get();
76  void set(System::String^ value);
77  }
78 
83  property System::String^ Token
84  {
85  System::String^ get();
86  void set(System::String^ value);
87  }
88 
93  property System::String^ Type
94  {
95  System::String^ get();
96  void set(System::String^ value);
97  }
98 
103  property System::String^ CID
104  {
105  System::String^ get();
106  void set(System::String^ value);
107  }
108 
115  property System::String^ Proxy
116  {
117  System::String^ get();
118  void set(System::String^ value);
119  }
120 
130 
131  virtual long long Handle() override;
132 
133  virtual void Initialize() override;
134 
135  virtual void ReleaseReference() override;
136 
137  };
138 }
139 
140 #endif
ZDK_NET::PushConfig
Push notification specific configuration.
Definition: PushConfig.h:25
ZDK_NET::PushConfig::IsEqual
bool IsEqual(ZDK_NET::PushConfig^ comp)
Compares the current configuration with the given one.
ZDK_NET::ZHandle
Definition: ZHandle.h:18