Stipop Docs | Documentation for SDK and API

Implement Sticker Send

While your app's user explores our SDK, some events will happen. Your app can handle that events through our interface(delegate).

StipopDelegate

1
2
3
4
5
6
7
8
9
10
11
12
class MainActivity : AppCompatActivity(), StipopDelegate {
    ...
    override fun onStickerSelected(sticker: SPSticker) {
        print(sticker)
    }
    
    override fun canDownload(spPackage: SPPackage): Boolean {
      print(spPackage)
      
      return true
    }
}

onStickerSelected

Once a user selected one of our sticker, onStickerSelected function will be triggered.

canDownload

This applies for Sticker Picker View only, where users can download sticker packs in the lite sticker store you can access from the sticker picker.


Next step: Customize UI

You have now implemented sticker send! Next, optionally, you can customize UI for the search view and sticker picker view to match your brand identity.

We’re here to help. Contact us.