AbstractScreen
public class AbstractScreen: BusinessObject
Abstract business object to manage screen tracking.
-
Actions
See moreDeclaration
Swift
@objc public enum ScreenAction: Int -
Screen name
Declaration
Swift
public var name: String = "" -
First chapter
Declaration
Swift
public var chapter1: String? -
Second chapter
Declaration
Swift
public var chapter2: String? -
Third chapter
Declaration
Swift
public var chapter3: String? -
Action
Declaration
Swift
public var action: ScreenAction = ScreenAction.view -
Level 2
Declaration
Swift
public var level2: Int = 0 -
true if the screen is a basket screen
Declaration
Swift
public var isBasketScreen: Bool = false -
Get a wrapper for Custom object management
Declaration
Swift
public lazy var customObjects: CustomObjects = CustomObjects(screen: self) -
Get a wrapper for CustomVar management
Declaration
Swift
public lazy var customVars: CustomVars = CustomVars(screen: self) -
Attach visited aisle to screen
Declaration
Swift
public var aisle: Aisle? -
Attach Custom tree structure to screen
Declaration
Swift
public var customTreeStructure: CustomTreeStructure? -
Attach Publisher impression to screen
Declaration
Swift
public lazy var publishers: PublisherImpressions = PublisherImpressions(screen: self) -
Attach Publisher impression to screen
Declaration
Swift
public lazy var selfPromotions: SelfPromotionImpressions = SelfPromotionImpressions(screen: self) -
Attach Location information to screen
Declaration
Swift
public var location: Location? -
Attach Campaign information to screen
Declaration
Swift
public var campaign: Campaign? -
Attach Search result info to screen
Declaration
Swift
public var internalSearch: InternalSearch? -
Attach Order information to screen
Declaration
Swift
public var order: Order? -
Attach a Cart to screen
Declaration
Swift
public var cart: Cart? -
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
public func sendView()
AbstractScreen Class Reference