Skip to main content
VESDK/Android/Guides/Stickers

GIPHY Integration

VideoEditor SDK for Android provides an integration for GIPHY allowing easy integration of GIF stickers

VideoEditor SDK allows seamless integration with the GIPHY Stickers API using GiphyStickerCategoryItem.

Configure GiphySettings to pass your API key obtained from GIPHY. You can also optionally set the language and rating to customize search results according to the localization and content rating of your app.

settingsList.configure<GiphySettings> {
it.apiKey = "YOUR_API_KEY"
it.language = "en"
it.rating = "g"
}

Next, add the GiphyStickerCategoryItem to the stickerLists.

settingsList.configure<UiConfigSticker> {
it.stickerLists.add(
GiphyStickerCategoryItem()
)
}

For further customization, you can also provide a name (only used for accessibility) and a thumbnail ImageSource when constructing GiphyStickerCategoryItem.

This category item is searchable, while the search bar and pagination is provided by VideoEditor SDK.

If no search has been performed the trending API will be used to provide quick access to the most relevant content, ready to be inserted into the canvas.

For more information about GIPHY, see their API Quickstart Guide.