StickerPackRepository

StickerPackRepository

class StickerPackRepository

Fields

Name Description
val programId: String

Constructors

<init>

constructor(programId: String, endpoint: String)

Parameters

Name Description
programId: String
endpoint: String

Methods

getStickerPacks

suspend fun getStickerPacks(): List<StickerPack>

ReturnValue

Name Description
List<StickerPack>

preloadImages

fun preloadImages(context: Context)

Parameters

Name Description
context: Context

ReturnValue

Name Description
Unit

getSticker

fun getSticker(shortcode: String): Sticker?

Parameters

Name Description
shortcode: String

ReturnValue

Name Description
Sticker?