You can create custom animated stickers by using the short video SDK. Make sure that you create a custom animated sticker by following the standards. Otherwise, the created custom animated sticker cannot be used.
Standards for creating animated stickers
For more information, see Standards for creating animated stickers and bubbles by using the short video SDK.
Methods
Animated stickers
Android
Call the
AliyunPasterManager.addPasterWithStartTime(Source path, long startTime, long duration);
method to add an animated sticker. For more information about the parameters, see AliyunPasterManager.iOS
Call the
addGif:startTime:duration:
method of theAliyunStickerManager
class to add an animated sticker. For more information about the parameters, see AliyunStickerManager.
Bubbles
Android
Call the
AliyunPasterControllerCompoundCaption.setBubbleEffectTemplate(Source aStyleTemplate);
method to add a bubble. For more information about the parameters, see AliyunPasterControllerCompoundCaption.iOS
Call the
addCaptionText:bubblePath:startTime:duration:
method of theAliyunStickerManager
class to add a bubble. For more information about the parameters, see AliyunStickerManager.