TMDTripNotification Class Reference
| Inherits from | NSObject |
|---|---|
| Declared in | TMDTripNotification.h |
Overview
This class includes basic information about TMDTrip objects that have been updated into the cache (See TMDNotifications).
tripId
The unique id of the trip when stored in the local cache
@property (assign) long long tripIdDeclared In
TMDTripNotification.h
timestampDownload
The UTC timestamp (in ms) of the last download of the TMD trip
@property long long timestampDownloadDeclared In
TMDTripNotification.h
timestampModified
The UTC timestamp (in ms) of the last modification of the TMD trip
@property (assign) long long timestampModifiedDeclared In
TMDTripNotification.h
timestampStart
Returns the UTC timestamp (in ms) of the start of the TMD trip
@property long long timestampStartDeclared In
TMDTripNotification.h
timestampEnd
Returns the UTC timestamp (in ms) of the end of the TMD trip
@property long long timestampEndDeclared In
TMDTripNotification.h
isValidated
This field is important for reporting Returns true if the trip has been validated by the user
@property BOOL isValidatedDeclared In
TMDTripNotification.h
isCompleted
This fields tells if the trip is completed and thus, may be not be modified without the user’s input Returns true if the trip is completed.
@property BOOL isCompletedDeclared In
TMDTripNotification.h
syncedWithCloud
Indicates whether change made manually on the trip have been synced with the cloud
@property BOOL syncedWithCloudDeclared In
TMDTripNotification.h
– initWithId:timestampDownload:timestampStart:timestampEnd:timestampModified:isValidated:isCompleted:synced:
- (instancetype)initWithId:(long long)tripId timestampDownload:(long long)timestampDownload timestampStart:(long long)timestampStart timestampEnd:(long long)timestampEnd timestampModified:(long long)timestampModified isValidated:(BOOL)isValidated isCompleted:(BOOL)isCompleted synced:(BOOL)syncedWithCloud– getTrip
Returns the trip from the local database
- (TMDTask<TMDTrip*> *)getTripDeclared In
TMDTripNotification.h