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
@objc public var name: String = "" -
First chapter
Declaration
Swift
@objc public var chapter1: String? -
Second chapter
Declaration
Swift
@objc public var chapter2: String? -
Third chapter
Declaration
Swift
@objc public var chapter3: String? -
Action
Declaration
Swift
@objc public var action: ScreenAction = ScreenAction.view -
Level 2
Declaration
Swift
@objc public var level2: Int = 0 -
true if the screen is a basket screen
Declaration
Swift
@objc public var isBasketScreen: Bool = false -
Get a wrapper for Custom object management
Declaration
Swift
@objc public lazy var customObjects: CustomObjects = CustomObjects(screen: self) -
Get a wrapper for CustomVar management
Declaration
Swift
@objc public lazy var customVars: CustomVars = CustomVars(screen: self) -
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 = PublisherImpressions(screen: self) -
Attach Publisher impression to screen
Declaration
Swift
@objc public lazy var selfPromotions: SelfPromotionImpressions = SelfPromotionImpressions(screen: self) -
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? -
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()
AbstractScreen Class Reference