ZDK
IConference.h
1 #ifndef __ICONFERENCE__
2 #define __ICONFERENCE__
3 
4 #include <vector>
5 #include "IZHandle.h"
6 #include "ICall.h"
7 #include "Types/SharedPointerTypes.h"
8 
9 namespace ZDK
10 {
11 
12 class IConference : public ZDK::ICall
13 {
14 public:
15 
16  //# @abi(all) documentation
24  //# @abi(jni|obj_c) property
25  virtual ZDK::ZDKHandle ConferenceHandle() const = 0;
26 
27  //# @abi(all) documentation
40  virtual ZDK::Shared::Result AddCall(ZDK::Shared::Call hCall) = 0;
41 
42  //# @abi(all) documentation
53  virtual ZDK::Shared::Result RemoveCall(ZDK::Shared::Call hCall, bool hangUp) = 0;
54 
55  //# @abi(all) documentation
65  virtual ZDK::Shared::Result MuteCall(ZDK::Shared::Call hCall) = 0;
66 
67  //# @abi(all) documentation
77  virtual ZDK::Shared::Result UnmuteCall(ZDK::Shared::Call hCall) = 0;
78 
79  //# @abi(all) documentation
87  virtual bool IsCallFromConference(ZDK::ZDKHandle hCall) const = 0;
88 
89  //# @abi(all) documentation
95  //# @abi(jni|obj_c) property
96  virtual int CallsCount() const = 0;
97 
98  //# @abi(all) documentation
104  //# @abi(jni|obj_c) property
105  virtual ZDK::Shared::ItemList<ZDK::Shared::Call> Calls() const = 0;
106 
107  //# @abi(all) documentation
115  virtual ZDK::Shared::Result AcquireVideoSinkMngrFromCall(ZDK::Shared::Call call) = 0;
116 
117  //# @abi(all) documentation
125  //# @abi(obj_c|jni) @param(confEventHandler) delegate|register
126  virtual void SetConferenceEventsListener(ZDK::Shared::ConferenceEventsHandler confEventHandler) = 0;
127 
128  //# @abi(all) documentation
136  //# @abi(obj_c|jni) @param(confEventHandler) delegate|unregister
137  virtual void DropConferenceEventsListener(ZDK::Shared::ConferenceEventsHandler confEventHandler) = 0;
138 };
139 
140 } //namespace ZDK
141 
142 #endif //__ICONFERENCE__
Definition: ICall.h:16
Definition: IConference.h:12
virtual ZDK::Shared::ItemList< ZDK::Shared::Call > Calls() const =0
Gives list with all calls in conference.
virtual ZDK::Shared::Result UnmuteCall(ZDK::Shared::Call hCall)=0
Unmute a call in the conference.
virtual void SetConferenceEventsListener(ZDK::Shared::ConferenceEventsHandler confEventHandler)=0
Set Conference Events Listener.
virtual ZDK::Shared::Result RemoveCall(ZDK::Shared::Call hCall, bool hangUp)=0
Removes a call from the conference.
virtual ZDK::ZDKHandle ConferenceHandle() const =0
Gets conference handle.
virtual ZDK::Shared::Result AcquireVideoSinkMngrFromCall(ZDK::Shared::Call call)=0
Acquire video sink from call.
virtual bool IsCallFromConference(ZDK::ZDKHandle hCall) const =0
Checks if a call is part of conference.
Definition: IAccountConfig.h:10
virtual void DropConferenceEventsListener(ZDK::Shared::ConferenceEventsHandler confEventHandler)=0
Drops Conference Events Listener.
virtual ZDK::Shared::Result MuteCall(ZDK::Shared::Call hCall)=0
Mute a call in the conference.
virtual ZDK::Shared::Result AddCall(ZDK::Shared::Call hCall)=0
Adds a call to the conference.
virtual int CallsCount() const =0
Gives the number of calls in conference.