华为云会议 MEETING-拦截发起共享定制:onSelfStartShareIntercept:
时间:2025-03-28 16:24:12
onSelfStartShareIntercept:
接口描述
该接口用于自定义拦截发起共享。
注意事项
无
方法定义
- (void)onSelfStartShareIntercept:(void(^)(HWMShareInterceptInfo *shareIntercept))callback;
参数描述
参数 |
类型 |
描述 |
---|---|---|
isInterrupt |
BOOL |
是否中断共享 |
interruptReason |
NSString * |
中断原因 |
返回值
无
示例代码
- (void)onSelfStartShareIntercept:(void (^)(HWMShareInterceptInfo * _Nonnull))callback { HWMShareInterceptInfo *model = [[HWMShareInterceptInfo alloc] init]; model.isInterrupt = YES; model.interruptReason = @"reason"; callback(model); }
support.huaweicloud.com/sdkreference-meeting/toctopics/zh-cn_topic_0000002223851948.html