GiphyStickerCategory
@objcMembers
@objc(PESDKGiphyStickerCategory)
open class GiphyStickerCategory : StickerProviderCategory
A GiphyStickerCategory
is a preconfigured category providing an easy access to the GIPHY Stickers API.
-
Creates a sticker category with GIPHY as
StickerProvider
.Declaration
Swift
@objc(initWithAPIKey:language:rating:) public init(apiKey: String, language: String = Bundle.main.preferredLocalizations.first ?? "en", rating: String = "g")
Parameters
apiKey
The key used to authorize API requests obtained from GIPHY.
language
The default language for regional content in 2-letter ISO 639-1 language code. Default value is the bundle preferred localization or
en
if unavailable.rating
The audience category used for content filtering. Available values are
g, pg, pg-13, r
. Default value isg
.