GMTSTerminalLocation Class Reference

GMTSTerminalLocation Class Reference

Overview

Object representing information that identifies a terminal location.

Inherits GMTCImmutableData.

Public Member Functions

(instancetype) - initWithPoint:label:description:placeID:generatedID:accessPointID:
 Initializes an instance of GMTSTerminalLocation.

Properties

GMTSLatLngpoint
 The point location of the terminal.
NSString * terminalLocationLabel
 Human-readable name of the terminal location.
NSString * terminalLocationDescription
 A longer description of the terminal location, which may include how to get to the location.
NSString * placeID
 The Place ID of the terminal point.
NSString * generatedID
 A generated ID if the place ID is not available.
NSString * accessPointID
 Indicates the access point ID of the current terminal location for the associated trip.

Member Function Documentation

- (instancetype) initWithPoint: (nullable GMTSLatLng *)  point
label: (nullable NSString *)  terminalLocationLabel
description: (nullable NSString *)  terminalLocationDescription
placeID: (nullable NSString *)  placeID
generatedID: (nullable NSString *)  generatedID
accessPointID: (nullable NSString *)  accessPointID 

Initializes an instance of GMTSTerminalLocation.

Parameters:
pointThe point location of the terminal.
terminalLocationLabelHuman-readable name of the terminal location.
terminalLocationDescriptionA longer description of the terminal location, which may include how to get to the location.
placeIDThe Place ID of the terminal point.
generatedIDA generated ID if the place ID is not available.
accessPointIDAn access point ID of the current terminal location from the associated trip.

Property Documentation

- (GMTSLatLng*) point [read, copy]

The point location of the terminal.

- (NSString*) terminalLocationLabel [read, copy]

Human-readable name of the terminal location.

- (NSString*) terminalLocationDescription [read, copy]

A longer description of the terminal location, which may include how to get to the location.

- (NSString*) placeID [read, copy]

The Place ID of the terminal point.

Refer to https://developers.google.com/places/web-service/place-id for more detail.

- (NSString*) generatedID [read, copy]

A generated ID if the place ID is not available.

The ID is nil if there is already a valid place ID.

- (NSString*) accessPointID [read, copy]

Indicates the access point ID of the current terminal location for the associated trip.

If an associated trip does not exist, the value is nil. Requires an associated trip.