public interface AliyunRollCaptionComposer
Modifier and Type | Interface and Description |
---|---|
static interface |
AliyunRollCaptionComposer.StyleEditor
字幕样式编辑器
|
Modifier and Type | Method and Description |
---|---|
AliyunRollCaptionComposer.StyleEditor |
editCaptionFamilyStyle()
Edit style for all captions
|
AliyunRollCaptionComposer.StyleEditor |
editCaptionStyle(int index)
Edit style for single caption
|
void |
hide()
Hide captions
Note: Will keep composer info
|
void |
reset()
Hide and reset
Note: Will clear composer info
|
boolean |
show()
Show captions
|
void |
updateCaptionList(java.util.List<java.lang.String> captionList)
Update caption info list
|
void updateCaptionList(java.util.List<java.lang.String> captionList)
captionList
- Each caption contains: TimeStamp+TextAliyunRollCaptionComposer.StyleEditor editCaptionStyle(int index)
index
- AliyunRollCaptionComposer.StyleEditor editCaptionFamilyStyle()
boolean show()
void hide()
void reset()