DefaultTrackerDelegate
public class DefaultTrackerDelegate: NSObject, TrackerDelegate
Helper to provide a simple tracker delegate that log all messages pushed by the SDK (verbose, warning, error…) Note: tracker.delegate is a weak var, so you have to reference the DefaultTrackerDelegate strongly somewhere. tracker.delegate = DefaultTrackerDelegate() // not working because the variable will be dealloc at the end of the function.
-
Helper to provide a simple tracker delegate that log all messages pushed by the SDK (verbose, warning, error…) Note: tracker.delegate is a weak var, so you have to reference the DefaultTrackerDelegate strongly somewhere. tracker.delegate = DefaultTrackerDelegate() // not working because the variable will be dealloc at the end of the function.
Declaration
Swift
public func trackerNeedsFirstLaunchApproval(_ message: String)Parameters
messageapproval message for confidentiality
-
Helper to provide a simple tracker delegate that log all messages pushed by the SDK (verbose, warning, error…) Note: tracker.delegate is a weak var, so you have to reference the DefaultTrackerDelegate strongly somewhere. tracker.delegate = DefaultTrackerDelegate() // not working because the variable will be dealloc at the end of the function.
Declaration
Swift
public func buildDidEnd(_ status: HitStatus, message: String)Parameters
statusstatus of hit building
messagequery string or error message
-
Helper to provide a simple tracker delegate that log all messages pushed by the SDK (verbose, warning, error…) Note: tracker.delegate is a weak var, so you have to reference the DefaultTrackerDelegate strongly somewhere. tracker.delegate = DefaultTrackerDelegate() // not working because the variable will be dealloc at the end of the function.
Declaration
Swift
public func sendDidEnd(_ status: HitStatus, message: String)Parameters
statusstatus of hit sending
messagequerystring or http response message
-
Helper to provide a simple tracker delegate that log all messages pushed by the SDK (verbose, warning, error…) Note: tracker.delegate is a weak var, so you have to reference the DefaultTrackerDelegate strongly somewhere. tracker.delegate = DefaultTrackerDelegate() // not working because the variable will be dealloc at the end of the function.
Declaration
Swift
public func saveDidEnd(_ message: String)Parameters
messagethe saved hit
-
Helper to provide a simple tracker delegate that log all messages pushed by the SDK (verbose, warning, error…) Note: tracker.delegate is a weak var, so you have to reference the DefaultTrackerDelegate strongly somewhere. tracker.delegate = DefaultTrackerDelegate() // not working because the variable will be dealloc at the end of the function.
Declaration
Swift
public func didCallPartner(_ response: String)Parameters
responsethe response received from the partner
-
Helper to provide a simple tracker delegate that log all messages pushed by the SDK (verbose, warning, error…) Note: tracker.delegate is a weak var, so you have to reference the DefaultTrackerDelegate strongly somewhere. tracker.delegate = DefaultTrackerDelegate() // not working because the variable will be dealloc at the end of the function.
Declaration
Swift
public func warningDidOccur(_ message: String)Parameters
messagethe warning message
-
Helper to provide a simple tracker delegate that log all messages pushed by the SDK (verbose, warning, error…) Note: tracker.delegate is a weak var, so you have to reference the DefaultTrackerDelegate strongly somewhere. tracker.delegate = DefaultTrackerDelegate() // not working because the variable will be dealloc at the end of the function.
Declaration
Swift
public func errorDidOccur(_ message: String)Parameters
messagethe error message
DefaultTrackerDelegate Class Reference