Stipop Docs | Documentation for SDK and API

Listening for Events

While your app users explore Stipop SDK, you will start listening to events. Your app will handle these events through our interface(delegate). It always has to be used as a parameter of Stipop.connect.

StipopDelegate

1
2
3
4
5
6
7
interface StipopDelegate {

  fun onStickerSelected(sticker: SPSticker): Boolean
  
  fun onStickerPackRequested(spPackage: SPPackage): Boolean

}

onStickerSelected

Once a user selects one of our stickers, it will trigger onStickerSelected function. In most cases, stickers received this way are loaded into ImageView or converted to a File and used.

onStickerPackRequested

This function applies only to Sticker Picker, where users can download sticker packs from a well-organized sticker library.

We’re here to help. Contact us.