TempoTrackingUpdate

@objc
public class TempoTrackingUpdate : NSObject, Decodable
extension TempoTrackingUpdate: JsonString

Detail of the TempoUpdate event being reported to main application via callback BDPTempoTrackingDelegate/tempoTrackingDidUpdate(_:) Includes details of the destination and ETA information

  • The unique UDID of the trigger chain

    Declaration

    Swift

    @objc
    public let triggerChainId: String
  • eta

    The ETA from the destination, in minutes

    Declaration

    Swift

    @objc
    public let eta: Int
  • The ETA direction, either lessThan or greaterThan

    Declaration

    Swift

    @objc
    public let etaDirection: TempoUpdateETADirection
  • The Destination object being Tempo-tracked

    Declaration

    Swift

    @objc
    public let destination: Destination?
  • Convert to JSON string

    This function throws an error if JSON encoding process fails

    Declaration

    Swift

    @objc(toJson:)
    public func toJson() throws -> String