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)
  • 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)
  • 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)
  • 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)
  • 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)
  • 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)
  • 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)