This class holds all the information needed to page to the next/previous page. It is serialized as base64 when passed on to the client. The base64 encoding is done to prevent the client from using the information inside the cursor.
The PageCursor class is internal to the router, only the serialized string is passed to/from the clients.
name | data type | description |
---|---|---|
type | PageType | |
originalSortOrder | SortOrder | |
earliestDepartureTime | number | |
latestArrivalTime | number | |
searchWindow | number |
Example
{ "type" : "PREVIOUS_PAGE", "originalSortOrder" : "STREET_AND_DEPARTURE_TIME", "earliestDepartureTime" : 12345, "latestArrivalTime" : 12345, "searchWindow" : 12345 }