zdk.net
VideoCallInfo.h
1 //
2 // VideoCallInfo.h
3 // ZDK
4 //
5 
6 #ifndef ZDK_NET_VideoCallInfo_h
7 #define ZDK_NET_VideoCallInfo_h
8 
9 #include "native_shared_ptr.h"
10 #include "PublicInterfaces.h"
11 #include "AudioVideoCodecs.h"
12 #include "OriginType.h"
13 #include "ZHandle.h"
14 
15 using namespace System::Collections::Generic;
16 
17 namespace ZDK_NET
18 {
19 
20  public ref class VideoCallInfo : ZHandle
21  {
22  public:
23  ZDK::IVideoCallInfo* cppRef = nullptr;
24 
25  VideoCallInfo(ZDK::Shared::VideoCallInfo src);
26  ~VideoCallInfo();
28 
33  property long long ThreadID
34  {
35  long long get();
36  void set(long long value);
37  }
38 
43  property ZDK_NET::AudioVideoCodecs Codec
44  {
45  ZDK_NET::AudioVideoCodecs get();
46  void set(ZDK_NET::AudioVideoCodecs value);
47  }
48 
53  property ZDK_NET::OriginType Dir
54  {
55  ZDK_NET::OriginType get();
56  void set(ZDK_NET::OriginType value);
57  }
58 
63  property int Width
64  {
65  int get();
66  void set(int value);
67  }
68 
73  property int Height
74  {
75  int get();
76  void set(int value);
77  }
78 
83  property float FPS
84  {
85  float get();
86  void set(float value);
87  }
88 
97  property bool OutStarted
98  {
99  bool get();
100  }
101 
110  property bool IncStarted
111  {
112  bool get();
113  }
114 
123  property bool AnyStarted
124  {
125  bool get();
126  }
127 
132  property bool HangUpRequested
133  {
134  bool get();
135  void set(bool value);
136  }
137 
142  property bool HWDAccelerated
143  {
144  bool get();
145  void set(bool value);
146  }
147 
152  property bool AnswerWithVideo
153  {
154  bool get();
155  void set(bool value);
156  }
157 
163  void Start(ZDK_NET::OriginType dir, bool value);
164 
165  virtual long long Handle() override;
166 
167  virtual void Initialize() override;
168 
169  virtual void ReleaseReference() override;
170 
171  };
172 }
173 
174 #endif
ZDK_NET::VideoCallInfo::Start
void Start(ZDK_NET::OriginType dir, bool value)
Sets the state of the video in both directions.
ZDK_NET::VideoCallInfo
Definition: VideoCallInfo.h:21
ZDK_NET::ZHandle
Definition: ZHandle.h:18