StickerOptionsToolControllerOptionsBuilder

@available(iOS 9.0, *)
@objcMembers
@objc(PESDKStickerOptionsToolControllerOptionsBuilder)
open class StickerOptionsToolControllerOptionsBuilder : ToolControllerOptionsBuilder

The default StickerOptionsToolControllerOptionsBuilder for StickerOptionsToolControllerOptions.

  • Defines all allowed actions. Only buttons for allowed action are visible. Defaults to show all available actions.

    Declaration

    Swift

    open var allowedStickerActions: [StickerAction]
  • This closure is called when the user selects an action.

    Declaration

    Swift

    open var stickerActionSelectedClosure: ((StickerAction) -> Void)?
  • This closure allows further configuration of the action buttons. The closure is called for each action button and has the button and its corresponding action as parameters.

    Declaration

    Swift

    open var actionButtonConfigurationClosure: ((UICollectionViewCell, StickerAction) -> Void)?
  • This closure allows further configuration of the overlay buttons. The closure is called for each button and has the button and its corresponding enum value as parameters.

    Declaration

    Swift

    open var overlayButtonConfigurationClosure: ((OverlayButton, StickerOverlayAction) -> Void)?
  • Defines all allowed actions. Only buttons for allowed actions are visible.

    Declaration

    Swift

    open var allowedStickerOverlayActions: [StickerOverlayAction]
  • This closure is called when the user selects an action.

    Declaration

    Swift

    open var stickerOverlayActionSelectedClosure: ((StickerOverlayAction) -> Void)?
  • The insets used to layout the overlay buttons in their container. The .top value is ignored.

    Declaration

    Swift

    open var overlayButtonInsets: UIEdgeInsets