Class

INTrainTrip

The information that describes a train trip.

Declaration

class INTrainTrip : NSObject

Topics

Getting the Train Trip Information

var provider: String?

The name for the train company.

var trainName: String?

The name of the train.

var trainNumber: String?

The unique identifier for the train.

var tripDuration: INDateComponentsRange

The date and time range for the departure and arrival of the train.

var departureStationLocation: CLPlacemark

The station from which the train departs.

var departurePlatform: String?

The platform from which the train departs.

var arrivalStationLocation: CLPlacemark

The station at which the train arrives.

var arrivalPlatform: String?

The platform at which the train arrives.

Relationships

Inherits From

See Also

Train Reservation Data

class INTrainReservation

The information that describes a train reservation.

Beta

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software