AliyunRollCaptionComposer
@interface AliyunRollCaptionComposer : NSObject
翻转字幕控制器
-
更新字幕信息 API_AVAILABLE(3.20.0)
Declaration
Objective-C
- (void)updateCaptionList: (nonnull NSArray<AliyunRollCaptionItemStyle *> *)captionList;
Parameters
captionList
单个字幕包含:- see: AliyunRollCaptionItemStyle
-
编辑单个字幕样式 API_AVAILABLE(3.20.0)
Declaration
Objective-C
- (nonnull AliyunRollCaptionItemStyle *)captionItemStyle:(int)index;
Parameters
index
@return
-
显示 API_AVAILABLE(3.20.0)
Declaration
Objective-C
- (BOOL)show;
Return Value
bool
-
重置 API_AVAILABLE(3.20.0) 注意:会清除字幕信息
Declaration
Objective-C
- (BOOL)reset;