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 -
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
Destinationobject being Tempo-trackedDeclaration
Swift
@objc public internal(set) var destination: Destination? { get } -
Convert to JSON string
This function throws an error if JSON encoding process fails
Declaration
Swift
@objc(toJson:) public func toJson() throws -> String
View on GitHub
Install in Dash