HyphenateSDK  3.3.0
Instance Methods | List of all members
<IEMCallManager> Protocol Reference
Inheritance diagram for <IEMCallManager>:

Instance Methods

(void) - addDelegate:delegateQueue:
 
(void) - removeDelegate:
 
(void) - setBuilderDelegate:
 
(void) - setCallOptions:
 
(EMCallOptions *) - getCallOptions
 
(void) - startCall:remoteName:ext:completion:
 
(EMError *) - answerIncomingCall:
 
(EMError *) - endCall:reason:
 
(void) - startVoiceCall:completion:
 
(void) - startVideoCall:completion:
 
(void) - pauseVoiceWithSession:error:
 
(void) - resumeVoiceWithSession:error:
 
(void) - pauseVideoWithSession:error:
 
(void) - resumeVideoWithSession:error:
 
(void) - enableAdaptiveBirateStreaming:
 
(EMCallSession *) - makeVoiceCall:error:
 
(EMError *) - markCallSession:isSilence:
 
(void) - pauseVoiceTransfer:
 
(void) - resumeVoiceTransfer:
 
(EMCallSession *) - makeVideoCall:error:
 
(void) - pauseVideoTransfer:
 
(void) - resumeVideoTransfer:
 
(void) - pauseVoiceAndVideoTransfer:
 
(void) - resumeVoiceAndVideoTransfer:
 
(void) - setVideoAdaptive:
 

Method Documentation

- (void) addDelegate: (id< EMCallManagerDelegate >)  aDelegate
delegateQueue: (dispatch_queue_t)  aQueue 
optional

Add delegate

Parameters
aDelegateDelegate
aQueueThe queue of call delegate method
- (EMError *) answerIncomingCall: (NSString *)  aCallId
optional

Receiver answer the call

Parameters
aCallIdCall Id
aRemoteNameRemote name
Returns
Error
- (void) enableAdaptiveBirateStreaming: (3_1_0) 
(3_1_5) 
("Use -")  EM_DEPRECATED_IOS[EMCallOptions videoKbps] 
optional

Enable video adaptive, default is disable

Parameters
isAdaptiveYES is enable, NO is disable
- (EMError *) endCall: (NSString *)  aCallId
reason: (EMCallEndReason)  aReason 
optional

End the call

Parameters
aCallIdCall ID
aReasonEnd reason
Returns
Error
- (EMCallOptions *) getCallOptions
optional

Get setting options

Returns
Setting options
- (EMCallSession *) makeVideoCall: (NSString *)  aUsername
error: ("Use -startVideoCall:completion:")  __deprecated_msg 
optional

Start a video call session

Parameters
aUsernameThe callee
pErrorError
Returns
Session instance
- (EMCallSession *) makeVoiceCall: (NSString *)  aUsername
error: ("Use -startVoiceCall:completion:")  __deprecated_msg 
optional

Start a voice call session

Parameters
aUsernameThe callee
pErrorError
Returns
Session instance
- (EMError *) markCallSession: (NSString *)  aSessionId
isSilence: ("Use -pauseVoiceWithSession:error:")  __deprecated_msg 
optional

Get video package lost rate

Parameters
aSessionIdSession ID
aIsSilenceIs Silence
Returns
Error
- (void) pauseVideoTransfer: ("Use -pauseVideoWithSession:error:")  __deprecated_msg
optional

Suspend video data transmission

Parameters
aSessionIdSession ID
- (void) pauseVideoWithSession: (NSString *)  aSessionId
error: (3_1_0) 
(3_1_5) 
("Use -")  EM_DEPRECATED_IOS[EMCallSession pauseVideo] 
optional

Pause video streaming

Parameters
aSessionIdSession ID
- (void) pauseVoiceAndVideoTransfer: ("Delete")  __deprecated_msg
optional

Suspend voice and video data transmission

Parameters
aSessionIdSession ID
- (void) pauseVoiceTransfer: ("Use -pauseVoiceWithSession:error:")  __deprecated_msg
optional

Suspend voice data transmission

Parameters
aSessionIdSession ID
- (void) pauseVoiceWithSession: (NSString *)  aSessionId
error: (3_1_0) 
(3_1_5) 
("Use -")  EM_DEPRECATED_IOS[EMCallSession pauseVoice] 
optional

Pause voice streaming

Parameters
aSessionIdSession ID
- (void) removeDelegate: (id< EMCallManagerDelegate >)  aDelegate
optional

Remove delegate

Parameters
aDelegateDelegate
- (void) resumeVideoTransfer: ("Use -resumeVideoWithSession:error:")  __deprecated_msg
optional

Resume video data transmission

Parameters
aSessionIdSession ID
- (void) resumeVideoWithSession: (NSString *)  aSessionId
error: (3_1_0) 
(3_1_5) 
("Use -")  EM_DEPRECATED_IOS[EMCallSession resumeVideo] 
optional

Resume video streaming

Parameters
aSessionIdSession ID
- (void) resumeVoiceAndVideoTransfer: ("Delete")  __deprecated_msg
optional

Resume voice and video data transmission

Parameters
aSessionIdSession ID
- (void) resumeVoiceTransfer: ("Use -resumeVoiceWithSession:error:")  __deprecated_msg
optional

Resume voice data transmission

Parameters
aSessionIdSession ID
- (void) resumeVoiceWithSession: (NSString *)  aSessionId
error: (3_1_0) 
(3_1_5) 
("Use -")  EM_DEPRECATED_IOS[EMCallSession resumeVoice] 
optional

Resume voice streaming

Parameters
aSessionIdSession ID
- (void) setBuilderDelegate: (id< EMCallBuilderDelegate >)  aDelegate
optional

Add delegate

Parameters
aDelegateDelegate
- (void) setCallOptions: (EMCallOptions *)  aOptions
optional

Set setting options

Parameters
aOptionsSetting options
- (void) setVideoAdaptive: ("Use -enableAdaptiveBirateStreaming:")  __deprecated_msg
optional

Enable video adaptive, default is disable

Parameters
aFlagYES is enable, NO is disable
- (void) startCall: (EMCallType)  aType
remoteName: (NSString *)  aRemoteName
ext: (NSString *)  aExt
completion: (void(^)(EMCallSession *aCallSession, EMError *aError))  aCompletionBlock 
optional

Start a call

Parameters
aTypeCall type
aRemoteNameThe callee
aExtCall extention, to the callee
aCompletionBlockThe callback of completion
- (void) startVideoCall: (NSString *)  aUsername
completion: (3_1_0) 
(3_2_0) 
("Use -")  EM_DEPRECATED_IOS[IEMCallManager startCall:remoteName:ext:completion:] 
optional

Start a video call

Parameters
aUsernameThe callee
aSuccessBlockThe callback block of completion
- (void) startVoiceCall: (NSString *)  aUsername
completion: (3_1_0) 
(3_2_0) 
("Use -")  EM_DEPRECATED_IOS[IEMCallManager startCall:remoteName:ext:completion:] 
optional

Start a voice call

Parameters
aUsernameThe callee
aCompletionBlockThe callback of completion

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