TrackerDelegate
@objc public protocol TrackerDelegate
Sends different events during hit building
-
Notify when tracker needs first launch approval
Declaration
Swift
@objc optional func trackerNeedsFirstLaunchApproval(_ message: String)Parameters
messageapproval message for confidentiality
-
Notify when hit has been built
Declaration
Swift
@objc optional func buildDidEnd(_ status: HitStatus, message: String)Parameters
statusstatus of hit building
messagequery string or error message
-
Notify when hit has been sent
Declaration
Swift
@objc optional func sendDidEnd(_ status: HitStatus, message: String)Parameters
statusstatus of hit sending
messagequerystring or http response message
-
Notify when hit has been saved in device local storage
Declaration
Swift
@objc optional func saveDidEnd(_ message: String)Parameters
messagethe saved hit
-
Notify when a partner has been called
Declaration
Swift
@objc optional func didCallPartner(_ response: String)Parameters
responsethe response received from the partner
-
Notify when a warning has been detected
Declaration
Swift
@objc optional func warningDidOccur(_ message: String)Parameters
messagethe warning message
-
Notify when a critical error has been detected
Declaration
Swift
@objc optional func errorDidOccur(_ message: String)Parameters
messagethe error message
TrackerDelegate Protocol Reference