Class: TripLocationHistory¶
domain/TripLocationHistory.TripLocationHistory
Constructors¶
constructor¶
new TripLocationHistory(locationHistory
, etaSeconds
)
An array of locations represents the history of the trip
Parameters¶
Name |
Type |
Description |
---|---|---|
|
|
location array |
|
|
‘estimated time of arrival’ in seconds |
Properties¶
etaSeconds¶
etaSeconds: number
locationHistory¶
locationHistory: Location
[]
Methods¶
fromJSON¶
Static
fromJSON(tripLocationHistory
): TripLocationHistory
Create from JSON
Parameters¶
Name |
Type |
Description |
---|---|---|
|
|
JSON object |