AliyunAETemplateEditor
@interface AliyunAETemplateEditor : NSObject
* A class that defines editor for template API_AVAILABLE(3.35.0)
-
* Initializer
Declaration
Objective-C
- (nonnull instancetype)initWithTemplatePath:(nonnull NSString *)templatePath;
Parameters
templatePath
The path of the template folder.
Return Value
AliyunAETemplateEditor
-
* The current template.
Declaration
Objective-C
@property (nonatomic, strong, readonly) AliyunAETemplate *_Nonnull currentTemplate;
-
* The player.
Declaration
Objective-C
@property (nonatomic, strong, readonly) AliyunAETemplatePlayer *_Nonnull player;
-
* The render.
Declaration
Objective-C
@property (nonatomic, strong, readonly) AliyunAETemplateRender *_Nonnull render;
-
* Make it work, call it after replace assets.
Declaration
Objective-C
- (void)commit;
-
* Replace the audio
Declaration
Objective-C
- (void)replaceAudio:(nonnull NSString *)audioPath;
Parameters
audioPath
Audio path, if nil use template’s music, if empty string should not use auidio.
-
* Set the font folder
Declaration
Objective-C
+ (void)setFontFolder:(nonnull NSString *)fontFolder;
Parameters
fontFolder
The font folder