StickerProviderCategory
@objcMembers
@objc(PESDKStickerProviderCategory)
open class StickerProviderCategory : StickerCategory
A StickerProviderCategory
represents an empty category with a custom StickerProvider
.
-
The
StickerProvider
associated with this sticker category.Declaration
Swift
public let stickerProvider: StickerProvider?
-
The
StickerProvider
associated with this sticker category. This property should only be used if you are using Objective-C.Declaration
Swift
@objc(stickerProvider) public let _objCStickerProvider: _ObjCStickerProvider?
-
Creates a sticker category with a
StickerProvider
object.Declaration
Swift
public convenience init(title: String, imageURL: URL, stickerProvider: StickerProvider)
Parameters
title
The title of this category, e.g. ‘Toy Collection’.
imageURL
The url for the category’s preview image.
stickerProvider
The associated
StickerProvider
object responsible for loading local/remote stickers. -
Creates a sticker category with a
StickerProvider
object. This initializer should only be used if you are using Objective-C.Declaration
Swift
@objc(initWithTitle:imageURL:stickerProvider:) public convenience init(title: String, imageURL: URL, _objCStickerProvider: _ObjCStickerProvider)
Parameters
title
The title of this category, e.g. ‘Toy Collection’.
imageURL
The url for the category’s preview image.
_objCStickerProvider
The associated
StickerProvider
object responsible for loading local/remote stickers. -
Creates a sticker category with a
StickerProvider
object.Declaration
Swift
public init(identifier: String, title: String, imageURL: URL, stickerProvider: StickerProvider)
Parameters
identifier
The identifier of this category.
title
The title of this category, e.g. ‘Toy Collection’.
imageURL
The url of the category’s preview image.
stickerProvider
The associated
StickerProvider
object responsible for loading local/remote stickers. -
Creates a sticker category with a
StickerProvider
object. This initializer should only be used if you are using Objective-C.Declaration
Swift
@objc(initWithIdentifier:title:imageURL:stickerProvider:) public init(identifier: String, title: String, imageURL: URL, _objCStickerProvider: _ObjCStickerProvider)
Parameters
identifier
The identifier of this category.
title
The title of this category, e.g. ‘Toy Collection’.
imageURL
The url of the category’s preview image.
_objCStickerProvider
The associated
StickerProvider
object responsible for loading local/remote stickers.