美摄SDK For iOS  3.14.0
属性 | 所有成员列表
NvsTemplateCompoundCaptionDesc类 参考

模板资源包里footage对应的组合字幕信息。如果trackIndex和clipIndex都是-1,表示该字幕是timeline字幕。如果仅clipIndex为-1,表示该字幕是轨道字幕。如果两者都不为-1,表示该字幕是片段字幕 更多...

#import <NvsAssetPackageManager.h>

类 NvsTemplateCompoundCaptionDesc 继承关系图:

属性

NSString * replaceId
 字幕的id。ID值等同于getTemplateAttachment(),用到的KEY为TEMPLATE_KEY_REPLACE_ID 更多...
 
NSArray< NvsTemplateCompoundCaptionItemDesc * > * itemList
 所有包含的组合字幕的数组 更多...
 
int trackIndex
 轨道字幕的轨道索引,非负表示有效 更多...
 
int clipIndex
 片段字幕的片段索引,非负表示有效 更多...
 
NSArray< NvsTemplateCompoundCaptionDesc * > * subCaptions
 序列嵌套的复合字幕 更多...
 

详细描述

模板资源包里footage对应的组合字幕信息。如果trackIndex和clipIndex都是-1,表示该字幕是timeline字幕。如果仅clipIndex为-1,表示该字幕是轨道字幕。如果两者都不为-1,表示该字幕是片段字幕

属性说明

◆ clipIndex

- (int) clipIndex
readwritenonatomicassign

片段字幕的片段索引,非负表示有效

◆ itemList

- (NSArray<NvsTemplateCompoundCaptionItemDesc *>*) itemList
readwritenonatomicstrong

所有包含的组合字幕的数组

◆ replaceId

- (NSString*) replaceId
readwritenonatomicstrong

字幕的id。ID值等同于getTemplateAttachment(),用到的KEY为TEMPLATE_KEY_REPLACE_ID

◆ subCaptions

- (NSArray<NvsTemplateCompoundCaptionDesc*>*) subCaptions
readwritenonatomicstrong

序列嵌套的复合字幕

◆ trackIndex

- (int) trackIndex
readwritenonatomicassign

轨道字幕的轨道索引,非负表示有效


该类的文档由以下文件生成: