TNProgress
@objcMembers
public class TNProgress : NSObject, Codable
The progress of trip upload
-
State of process
Declaration
Swift
public let state: TNProgressState
-
success - timestamp as same as latest failed - timestamp when the failure happens inProgess - timestamp of current time
Declaration
Swift
public let uploadTimestamp: Int64
-
Initialization method
Declaration
Swift
public init(state: TNProgressState, uploadTimestamp: Int64 = -1)