文档

更新直播信息

更新时间:

本文主要介绍客户端更新直播信息的API和使用示例。

iOS端

API:

/**
 * 动态更新直播业务信息,具体见AIRBLivePusherLiveBusinessOptions
 */
- (void) updateLiveBusinessOptions:(AIRBLivePusherLiveBusinessOptions*) businessOptions
                         onSuccess:(void (^)(void))onSuccess
                         onFailure:(void (^)(NSString* errorMessage))onFailure;

使用示例:

AIRBLivePusherLiveBusinessOptions* options = [[AIRBLivePusherLiveBusinessOptions alloc] init];
[room.livePusher updateLiveBusinessOptions:options onSuccess:^{
    ;
} onFailure:^(NSString * _Nonnull errorMessage) {
    ;
}];
  • 本页导读 (1)
文档反馈