ZDK
IConferenceProvider.h
1 #ifndef __ICONFERENCEPROVIDER__
2 #define __ICONFERENCEPROVIDER__
3 
4 #include <stdint.h>
5 
6 #include "Types/SharedPointerTypes.h"
7 
8 namespace ZDK
9 {
10 
11 //# @abi(all) documentation
14 class IConferenceProvider : public virtual ZDK::IZHandle
15 {
16 public:
17  //# @abi(all) documentation
34  virtual ZDK::Shared::Conference CreateConference(ZDK::Shared::ItemList<ZDK::Shared::Call> calls) = 0;
35 
36  //# @abi(all) documentation
43  //# @abi(jni|obj_c) property
44  virtual ZDK::Shared::ItemList<ZDK::Shared::Conference> ListConferences() const = 0;
45 
46  //# @abi(all) documentation
51  //# @abi(jni|obj_c) property
52  virtual int ConferencesCount() const = 0;
53 
54  //# @abi(all) documentation
63  //# @abi(jni|obj_c) @param(return) nullable
64  virtual ZDK::Shared::Conference GetConference(ZDK::ZDKHandle hConf) const = 0;
65 
66  //# @abi(all) documentation
71  //# @abi(jni|obj_c) property
72  virtual int CallsInConferences() const = 0;
73 
74  //# @abi(all) documentation
87  virtual bool IsCallInConference(ZDK::ZDKHandle hCall) const = 0;
88 
89  //# @abi(all) documentation
100  //# @abi(jni|obj_c) @param(return) nullable
101  virtual ZDK::Shared::Conference ConferenceContainingCall(ZDK::Shared::Call call) const = 0;
102 
103  //# @abi(all) documentation
110  //# @abi(jni|obj_c) property
111  //# @abi(jni|obj_c) @param(return) nullable
112  virtual ZDK::Shared::BrandingInfo BrandingInfo() const = 0;
113 
114  //# @abi(all) documentation
123  //# @abi(obj_c|jni) @param(value) delegate|register
124  virtual void AddConferenceProviderListener(ZDK::Shared::ConferenceProviderEventsHandler value) = 0;
125 
126  //# @abi(all) documentation
135  //# @abi(obj_c|jni) @param(value) delegate|unregister
136  virtual void DropConferenceProviderListener(ZDK::Shared::ConferenceProviderEventsHandler value) = 0;
137 };
138 
139 } //namespace ZDK
140 
141 #endif //__ICONFERENCEPROVIDER__
Definition: IZHandle.h:12
Conference controlling helper.
Definition: IConferenceProvider.h:14
virtual ZDK::Shared::Conference CreateConference(ZDK::Shared::ItemList< ZDK::Shared::Call > calls)=0
Creates a new conferene with the provided calls.
virtual ZDK::Shared::Conference GetConference(ZDK::ZDKHandle hConf) const =0
Gets the conference with the specified ID.
virtual ZDK::Shared::BrandingInfo BrandingInfo() const =0
Gets the conference branding info.
Definition: IAccountConfig.h:10
virtual int ConferencesCount() const =0
Gets the count of all conferences.
virtual void DropConferenceProviderListener(ZDK::Shared::ConferenceProviderEventsHandler value)=0
Removes a specific already added conference provider event listener.
virtual int CallsInConferences() const =0
Gets the total count of calls in all conferences.
virtual bool IsCallInConference(ZDK::ZDKHandle hCall) const =0
Checks whether the call with the provided ID is part of any conference.
virtual void AddConferenceProviderListener(ZDK::Shared::ConferenceProviderEventsHandler value)=0
Adds a new conference provider event listener.
virtual ZDK::Shared::ItemList< ZDK::Shared::Conference > ListConferences() const =0
Gets a list with all conferences.
virtual ZDK::Shared::Conference ConferenceContainingCall(ZDK::Shared::Call call) const =0
Gets the conference in which the provided call is part of.