HyphenateSDK  3.3.0
Instance Methods | List of all members
<EMCallManagerDelegate> Protocol Reference

#import <EMCallManagerDelegate.h>

Inheritance diagram for <EMCallManagerDelegate>:

Instance Methods

(void) - callDidReceive:
 
(void) - callDidConnect:
 
(void) - callDidAccept:
 
(void) - callDidEnd:reason:error:
 
(void) - callStateDidChange:type:
 
(void) - callNetworkDidChange:status:
 
(void) - didReceiveCallIncoming:
 
(void) - didReceiveCallConnected:
 
(void) - didReceiveCallAccepted:
 
(void) - didReceiveCallTerminated:reason:error:
 
(void) - didReceiveCallUpdated:type:
 
(void) - didReceiveCallNetworkChanged:status:
 

Detailed Description

Callbacks of real time voice/video

Method Documentation

- (void) callDidAccept: (EMCallSession *)  aSession
optional

User A will receive this callback after user B accept A's call

Parameters
aSession
- (void) callDidConnect: (EMCallSession *)  aSession
optional

Both user A and B will receive this callback after connection is established

Parameters
aSessionSession instance
- (void) callDidEnd: (EMCallSession *)  aSession
reason: (EMCallEndReason)  aReason
error: (EMError *)  aError 
optional

1.The another peer will receive this callback after user A or user B terminate the call. 2.Both user A and B will receive this callback after error occur.

Parameters
aSessionSession instance
aReasonTerminate reason
aErrorError
- (void) callDidReceive: (EMCallSession *)  aSession
optional

User B will receive this callback after user A dial user B

Parameters
aSessionSession instance
- (void) callNetworkDidChange: (EMCallSession *)  aSession
status: (EMCallNetworkStatus)  aStatus 
optional

User A and B is on the call, A network status is not stable, A will receive the callback

Parameters
aSessionSession instance
aStatusCurrent status
- (void) callStateDidChange: (EMCallSession *)  aSession
type: (EMCallStreamingStatus)  aType 
optional

User A and B is on the call, A pause or resume the data stream, B will receive the callback

Parameters
aSessionSession instance
aTypeType
- (void) didReceiveCallAccepted: (3_1_0) 
(3_1_5) 
("Use -")  EM_DEPRECATED_IOS[EMCallManagerDelegate callDidAccept:] 
optional

User A will receive this callback after user B accept A's call

Parameters
aSession
- (void) didReceiveCallConnected: (3_1_0) 
(3_1_5) 
("Use -")  EM_DEPRECATED_IOS[EMCallManagerDelegate callDidConnect:] 
optional

Both user A and B will receive this callback after connection is established

Parameters
aSessionSession instance
- (void) didReceiveCallIncoming: (3_1_0) 
(3_1_5) 
("Use -")  EM_DEPRECATED_IOS[EMCallManagerDelegate callDidReceive:] 
optional

Delegate method invokes when receiving a incoming call. User B will receive this callback when user A calls user B.

Parameters
aSessionSession instance
- (void) didReceiveCallNetworkChanged: (EMCallSession *)  aSession
status: (3_1_0) 
(3_1_5) 
("Use -")  EM_DEPRECATED_IOS[EMCallManagerDelegate callNetworkStatusDidChange:status:] 
optional

User A and B is on the call, A network status is not stable, A will receive the callback

Parameters
aSessionSession instance
aStatusCurrent status
- (void) didReceiveCallTerminated: (EMCallSession *)  aSession
reason: (EMCallEndReason)  aReason
error: (3_1_0) 
(3_1_5) 
("Use -")  EM_DEPRECATED_IOS[EMCallManagerDelegate callDidEnd:reason:error] 
optional

1.The another peer will receive this callback after user A or user B terminate the call. 2.Both user A and B will receive this callback after error occur.

Parameters
aSessionSession instance
aReasonTerminate reason
aErrorError
- (void) didReceiveCallUpdated: (EMCallSession *)  aSession
type: (3_1_0) 
(3_1_5) 
("Use -")  EM_DEPRECATED_IOS[EMCallManagerDelegate callStateDidChange:type] 
optional

User A and B is on the call, A pause or resume the data stream, B will receive the callback

Parameters
aSessionSession instance
aTypeType

The documentation for this protocol was generated from the following file: