HyphenateSDK  3.6.1
EMConferenceManagerDelegate.h
1 
15 #ifndef EMConferenceManagerDelegate_h
16 #define EMConferenceManagerDelegate_h
17 
18 #import <Foundation/Foundation.h>
19 
20 #import "EMCommonDefs.h"
21 #import "EMCallEnum.h"
22 #import "EMCallConference.h"
23 #import "EMCallStream.h"
24 #import "EMConferenceAttribute.h"
25 
26 @class EMError;
27 
36 @protocol EMConferenceManagerDelegate <NSObject>
37 
38 @optional
39 
53 - (void)memberDidJoin:(EMCallConference *)aConference
54  member:(EMCallMember *)aMember;
55 
69 - (void)memberDidLeave:(EMCallConference *)aConference
70  member:(EMCallMember *)aMember;
71 
83 - (void)roleDidChanged:(EMCallConference *)aConference;
84 
98 - (void)streamDidUpdate:(EMCallConference *)aConference
99  addStream:(EMCallStream *)aStream;
100 
114 - (void)streamDidUpdate:(EMCallConference *)aConference
115  removeStream:(EMCallStream *)aStream;
116 
130 - (void)streamDidUpdate:(EMCallConference *)aConference
131  stream:(EMCallStream *)aStream;
132 
148 - (void)conferenceDidEnd:(EMCallConference *)aConference
149  reason:(EMCallEndReason)aReason
150  error:(EMError *)aError;
151 
165 - (void)streamStartTransmitting:(EMCallConference *)aConference
166  streamId:(NSString *)aStreamId;
167 
181 - (void)conferenceNetworkDidChange:(EMCallConference *)aConference
182  status:(EMCallNetworkStatus)aStatus;
183 
184 
198 - (void)conferenceSpeakerDidChange:(EMCallConference *)aConference
199  speakingStreamIds:(NSArray *)aStreamIds;
200 
201 
202 
203 - (void)conferenceAttributeUpdated:(EMCallConference *)aConference
204  attributes:(NSArray <EMConferenceAttribute *>*)attrs;
205 
206 
207 #pragma mark - EM_DEPRECATED_IOS 3.4.3
208 
222 - (void)userDidJoin:(EMCallConference *)aConference
223  user:(NSString *)aUserName EM_DEPRECATED_IOS(3_1_0, 3_4_3, "Use -[EMConferenceManagerDelegate memberDidJoin:member:]");
224 
238 - (void)userDidLeave:(EMCallConference *)aConference
239  user:(NSString *)aUserName EM_DEPRECATED_IOS(3_1_0, 3_4_3, "Use -[EMConferenceManagerDelegate memberDidLeave:member:]");
240 
256 - (void)userDidRecvInvite:(NSString *)aConfId
257  password:(NSString *)aPassword
258  ext:(NSString *)aExt EM_DEPRECATED_IOS(3_1_0, 3_4_3, "Use -DELETE");
259 
260 
261 @end
262 
263 
264 #endif /* EMConferenceManagerDelegate_h */
Definition: EMCallConference.h:77
Definition: EMError.h:26
Definition: EMConferenceAttribute.h:14
Definition: EMConferenceManagerDelegate.h:36
Definition: EMCallConference.h:38
Definition: EMCallStream.h:40