From App Bundle
VideoEditor SDK supports loading stickers from the app bundle. In this example, we load both a custom sticker and an existing sticker from the img.ly bundle.
Adding Sticker categories#
Stickers are added to the VideoEditor SDK via the
configuration.sticker.categories array within a
Adding custom categories#
StickerCategory takes a
thumbnailUri as well as an array of
Stickers via them
A category can be populated both with custom as well as existing stickers that are shipped with the SDK.
Adding existing categories#
StickerCategories can be added by specifying the unique
identifier. You can find all available identifiers of the predefined categories here.
Sticker is always added to the SDK via a hosting
StickerCategory as shown in the previous section.
Adding custom stickers#
Sticker takes an
name as well as a
stickerUri pointing to the actual sticker file.
The sticker identifier needs to be unique since it is used during the (de)serialization process.