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 tripId
Declared In
TMDTripNotification.h
timestampDownload
The UTC timestamp (in ms) of the last download of the TMD trip
@property long long timestampDownload
Declared In
TMDTripNotification.h
timestampModified
The UTC timestamp (in ms) of the last modification of the TMD trip
@property (assign) long long timestampModified
Declared In
TMDTripNotification.h
timestampStart
Returns the UTC timestamp (in ms) of the start of the TMD trip
@property long long timestampStart
Declared In
TMDTripNotification.h
timestampEnd
Returns the UTC timestamp (in ms) of the end of the TMD trip
@property long long timestampEnd
Declared In
TMDTripNotification.h
isValidated
This field is important for reporting Returns true if the trip has been validated by the user
@property BOOL isValidated
Declared 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 isCompleted
Declared In
TMDTripNotification.h
syncedWithCloud
Indicates whether change made manually on the trip have been synced with the cloud
@property BOOL syncedWithCloud
Declared 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*> *)getTrip
Declared In
TMDTripNotification.h