IMSLinkVisualIntercomDelegate Protocol Reference
Conforms to | NSObject |
---|---|
Declared in | IMSLinkVisualIntercom.h |
– linkVisualIntercomDidConnect:
required method
语音对讲连接服务器成功回调
- (void)linkVisualIntercomDidConnect:(IMSLinkVisualIntercom *)intercom
Parameters
intercom |
实例 |
---|
Discussion
语音对讲连接服务器成功回调
See Also
Declared In
IMSLinkVisualIntercom.h
– linkVisualIntercomDidStop:error:
required method
语音对讲的停止回调,此时不应再继续调stop方法,避免造成方法调用循环
- (void)linkVisualIntercomDidStop:(IMSLinkVisualIntercom *)intercom error:(NSError *)error
Parameters
intercom |
实例 |
---|---|
error |
停止是否出错、可用于显示相关错误 |
Discussion
语音对讲的停止回调,此时不应再继续调stop方法,避免造成方法调用循环
See Also
Declared In
IMSLinkVisualIntercom.h
– linkVisualIntercom:didReceiveAudioParams:
required method
接收到设备的音频参数回调, 语音对讲开始 ,此时可以开始发送录音数据
- (void)linkVisualIntercom:(IMSLinkVisualIntercom *)intercom didReceiveAudioParams:(IMSLinkVisualAudioParams *)params
Parameters
intercom |
实例 |
---|---|
params |
音频参数 |
Discussion
接收到设备的音频参数回调, 语音对讲开始 ,此时可以开始发送录音数据
Declared In
IMSLinkVisualIntercom.h
– linkVisualIntercom:didReceiveData:
required method
接收到设备的音频数据回调
- (void)linkVisualIntercom:(IMSLinkVisualIntercom *)intercom didReceiveData:(NSData *)data
Parameters
intercom |
实例 |
---|---|
data |
音频数据 |
Discussion
接收到设备的音频数据回调
See Also
Declared In
IMSLinkVisualIntercom.h
– linkVisualIntercom:errorOccurred:
required method
语音对讲错误回调
- (void)linkVisualIntercom:(IMSLinkVisualIntercom *)intercom errorOccurred:(NSError *)error
Parameters
intercom |
实例 |
---|---|
error |
错误 |
Discussion
语音对讲错误回调
Declared In
IMSLinkVisualIntercom.h