AbstractScreen

public class AbstractScreen : BusinessObject

Abstract business object to manage screen tracking.

  • Actions

    See more

    Declaration

    Swift

    @objc
    public enum ScreenAction : Int
  • Action

    Declaration

    Swift

    @objc
    public var action: ScreenAction
  • true if the screen is a basket screen

    Declaration

    Swift

    @objc
    public var isBasketScreen: Bool
  • Get a wrapper for Custom object management

    Declaration

    Swift

    @objc
    public lazy var customObjects: CustomObjects { get set }
  • Get a wrapper for CustomVar management

    Declaration

    Swift

    @objc
    public lazy var customVars: CustomVars { get set }
  • Attach visited aisle to screen

    Declaration

    Swift

    @objc
    public var aisle: Aisle?
  • Attach Custom tree structure to screen

    Declaration

    Swift

    @objc
    public var customTreeStructure: CustomTreeStructure?
  • Attach Publisher impression to screen

    Declaration

    Swift

    @objc
    public lazy var publishers: PublisherImpressions { get set }
  • Attach Publisher impression to screen

    Declaration

    Swift

    @objc
    public lazy var selfPromotions: SelfPromotionImpressions { get set }
  • Attach Location information to screen

    Declaration

    Swift

    @objc
    public var location: Location?
  • Attach Campaign information to screen

    Declaration

    Swift

    @objc
    public var campaign: Campaign?
  • Attach Search result info to screen

    Declaration

    Swift

    @objc
    public var internalSearch: InternalSearch?
  • Attach Order information to screen

    Declaration

    Swift

    @objc
    public var order: Order?
  • Attach a Cart to screen

    Declaration

    Swift

    @objc
    public var cart: Cart? { get set }
  • Send a screen view event If the screen is generated by AutoTracking, do not call this function in the screenWasDetected delegate, otherwise, the screen will be sent twice.

    Declaration

    Swift

    @objc
    public func sendView()