StickerCollectionCategory
@objcMembers
@objc(PESDKStickerCollectionCategory)
open class StickerCollectionCategory : StickerCategory
A StickerCollectionCategory
represents an empty category with a custom StickerCollection
.
-
The
StickerCollection
associated with this sticker category.Declaration
Swift
public let stickerCollection: StickerCollection
-
Creates a sticker category with a
StickerCollection
object.Declaration
Swift
public convenience init(title: String, imageURL: URL, stickerCollection: StickerCollection)
Parameters
title
The title of this category, e.g. ‘Toy Collection’.
imageURL
The url of the category’s preview image.
stickerCollection
The associated
StickerCollection
object responsible for displaying the selection view. -
Creates a sticker category with a
StickerCollection
object.Declaration
Swift
public init(identifier: String, title: String, imageURL: URL, stickerCollection: StickerCollection)
Parameters
identifier
The identifier of this category.
title
The title of this category, e.g. ‘Toy Collection’.
imageURL
The url for the category’s preview image.
stickerCollection
The associated
StickerCollection
object responsible for displaying the selection view.