JCConference 回调代理
更多...
#import <JCConferenceCallback.h>
◆ onCancelReserveResult:succ:reason:
| - (void) onCancelReserveResult: |
|
(int) |
operationId |
| succ: |
|
(bool) |
succ |
| reason: |
|
(JCConferenceReason) |
reason |
|
|
| |
|
optional |
取消预约会议的结果回调
- 参数
-
| operationId | 操作id |
| succ | true 表示成功,false 表示失败 |
| reason | 原因,当 result 为 false 时该值有效 目前只返回 JCConferenceReasonNone |
◆ onChairmanUpdate:
◆ onChangeChairmanResult:succ:reason:
| - (void) onChangeChairmanResult: |
|
(int) |
operationId |
| succ: |
|
(bool) |
succ |
| reason: |
|
(JCConferenceReason) |
reason |
|
|
| |
|
optional |
更改主持人结果回调
- 参数
-
| operationId | 操作id |
| succ | true 表示成功,false 表示失败 |
| reason | 原因,当 result 为 false 时该值有效 目前只返回 JCConferenceReasonNone |
◆ onCommandReceivedResult:
◆ onConferenceCandidatesChanged:remove:
| - (void) onConferenceCandidatesChanged: |
|
(NSArray< NSString * > *) |
add |
| remove: |
|
(NSArray< NSString * > *) |
remove |
|
|
| |
|
optional |
待加入成员列表变化回调
- 参数
-
| add | 增加的待加入成员userId |
| remove | 移除的待加入成员userId |
◆ onConferenceJoin:reason:
加入会议结果回调
- 参数
-
| result | true 表示成功,false 表示失败 |
| reason | 当 result 为 false 时该值有效 目前加入失败的原因有 JCConferenceReasonTimeOut、JCConferenceReasonFull、JCConferenceReasonInvalidPassword、JCConferenceResasonLocked、JCConferenceReasonAlreadyJoined、JCConferenceReasonOther |
- 参见
- JCConferenceReason
◆ onConferenceLeave:
离开会议结果回调
- 参数
-
| reason | 离开原因 目前离开的原因有 JCConferenceReasonKicked、JCConferenceReasonOffline、JCConferenceReasonQuit、JCConferenceReasonOver、JCConferenceReasonOther |
- 参见
- JCConferenceReason
◆ onConferenceParticipantJoin:
◆ onConferenceParticipantLeft:
◆ onConferenceParticipantNetChanged:
◆ onConferenceParticipantUpdate:changedParam:
查询会议信息结果回调
- 参数
-
| participant | 成员对象 |
| changedParam | 变化标识集合 |
◆ onConferenceParticipantVolumeChanged:
◆ onConferenceStateChange:oldState:
◆ onDelayResult:succ:reason:
| - (void) onDelayResult: |
|
(int) |
operationId |
| succ: |
|
(bool) |
succ |
| reason: |
|
(JCConferenceReason) |
reason |
|
|
| |
|
optional |
会议延长结果回调
- 参数
-
| operationId | 操作id |
| succ | true 表示成功,false 表示失败 |
| reason | 原因,当 result 为 false 时该值有效 目前只返回 JCConferenceReasonNone |
◆ onDoodleStart:
| - (void) onDoodleStart: |
|
(NSString *) |
doodleUserId |
|
|
optional |
◆ onDoodleStop
◆ onEditReserveResult:succ:reason:
| - (void) onEditReserveResult: |
|
(int) |
operationId |
| succ: |
|
(bool) |
succ |
| reason: |
|
(JCConferenceReason) |
reason |
|
|
| |
|
optional |
编辑预约会议的结果回调
- 参数
-
| operationId | 操作id |
| succ | true 表示成功,false 表示失败 |
| reason | 原因,当 result 为 false 时该值有效 目前只返回 JCConferenceReasonNone |
◆ onImportCandidatesResult:succ:resaon:
| - (void) onImportCandidatesResult: |
|
(int) |
operationId |
| succ: |
|
(bool) |
succ |
| resaon: |
|
(JCConferenceReason) |
reason |
|
|
| |
|
optional |
设置待加入成员结果回调
- 参数
-
| operationId | 操作id |
| succ | true 表示成功,false 表示失败 |
| reason | 原因,当 result 为 false 时该值有效 目前只返回 JCConferenceReasonNone |
◆ onInviteReceived:inviter:userInfo:
收到会议邀请回调
- 参数
-
| confInfo | 会议 |
| inviter | 邀请者 |
| userInfo | 发送邀请时携带的自定义信息 |
◆ onInviteResult:succ:resaon:
| - (void) onInviteResult: |
|
(int) |
operationId |
| succ: |
|
(bool) |
succ |
| resaon: |
|
(JCConferenceReason) |
reason |
|
|
| |
|
optional |
邀请结果回调
- 参数
-
| operationId | 操作id |
| succ | true 表示成功,false 表示失败 |
| reason | 原因,当 result 为 false 时该值有效 目前只返回 JCConferenceReasonNone |
◆ onInviteSipUserResult:result:reason:
| - (void) onInviteSipUserResult: |
|
(int) |
operationId |
| result: |
|
(bool) |
result |
| reason: |
|
(JCConferenceReason) |
reason |
|
|
| |
|
optional |
邀请Sip用户操作结果回调,成功后会触发 onParticipantJoin
- 参数
-
| operationId | 操作id |
| result | 操作结果 true表示成功,false表示失败 |
| reason | 操作原因 |
◆ onInviteToScreenShare:
| - (void) onInviteToScreenShare: |
|
(NSString *) |
fromUserId |
|
|
optional |
收到邀请屏幕共享通知
- 参数
-
| fromUserId | 发起邀请人的用户id(主持人) |
◆ onInviteToSpeak:
| - (void) onInviteToSpeak: |
|
(NSString *) |
fromUserId |
|
|
optional |
收到邀请发言通知
- 参数
-
| fromUserId | 发起邀请人的用户id(主持人 |
◆ onLockResult:succ:reason:
| - (void) onLockResult: |
|
(int) |
operationId |
| succ: |
|
(bool) |
succ |
| reason: |
|
(JCConferenceReason) |
reason |
|
|
| |
|
optional |
锁定/解锁会议结果回调
- 参数
-
| operationId | 操作id |
| succ | true 表示成功,false 表示失败 |
| reason | 原因,当 result 为 false 时该值有效 目前只返回 JCConferenceReasonNone |
◆ onMessageReceive:content:fromUserId:
| - (void) onMessageReceive: |
|
(NSString *) |
type |
| content: |
|
(NSString *) |
content |
| fromUserId: |
|
(NSString *) |
fromUserId |
|
|
| |
|
optional |
收到其他成员发送的消息
- 参数
-
| type | 消息类型 |
| content | 消息内容 |
| fromUserId | 接收消息UserId |
◆ onQueryGoingConfResult:succ:reason:confInfo:participants:
查询进行中的会议结果
- 参数
-
| operationId | 操作id |
| succ | true 表示成功,false 表示失败 |
| reason | 原因 |
| confInfo | 会议对象 |
| participants | 会议中的成员 |
◆ onQueryReservedConfResult:succ:reason:queryResult:
◆ onQuerySingleConfResult:result:reason:reserveInfo:
查询单个预约会议结果
- 参数
-
| operationId | 操作id |
| result | true表示成功,false表示失败 |
| reason | 原因 |
| reserveInfo | 预约会议信息对象 |
◆ onRefreshReservedConfResult:succ:reason:lastUpdateTime:add:update:remove:
获取预约会议列表回调
- 参数
-
| operationId | 操作id |
| succ | true 表示成功,false 表示失败 |
| reason | 原因,当 result 为 false 时该值有效 |
| lastUpdateTime | 最后更新时间 |
| add | 增加的会议列表 |
| update | 更新的会议列表 |
| remove | 删除的会议列表(每一个元素为会议的 uuid) |
◆ onRejectToScreenShare:
| - (void) onRejectToScreenShare: |
|
(NSString *) |
fromUserId |
|
|
optional |
收到拒绝屏幕共享
- 参数
-
| fromUserId | 被邀请发言人的用户id(主持人) |
◆ onReserveConfStart:
◆ onReserveConfStateChanged:changeType:
预约会议状态变化
- 参数
-
| reserveInfo | 预约会议 |
| changeType | 变化类型 |
◆ onReserveResult:succ:reason:reserveInfo:
预约会议结果回调
- 参数
-
| operationId | 操作id |
| succ | true 表示成功,false 表示失败 |
| reason | 当 result 为 false 时该值有效,目前失败原因 JCConferenceResasonConfNumberExist |
| reserveInfo | 预约会议信息,暂时只有Uuid和ConfNumber |
◆ onSubTitleStartOrUpdate:
◆ onSubTitleStop
◆ onTransferToAudioConf
| - (void) onTransferToAudioConf |
|
|
|
|
optional |
◆ onUpdateParticipantExpandInfoResult:succ:reason:
| - (void) onUpdateParticipantExpandInfoResult: |
|
(int) |
operationId |
| succ: |
|
(bool) |
succ |
| reason: |
|
(JCConferenceReason) |
reason |
|
|
| |
|
optional |
更新成员扩展信息结果回调
- 参数
-
| operationId | 操作id |
| succ | true 表示成功,false 表示失败 |
| reason | 原因,当 result 为 false 时该值有效 目前只返回 JCConferenceReasonNone |
该协议的文档由以下文件生成: