GoogleRidesharingConsumer Framework Reference

GMTSTerminalLocation

@interface GMTSTerminalLocation : GMTCImmutableData

Object representing information that identifies a terminal location.

  • The point location of the terminal.

    Declaration

    Swift

    @NSCopying var point: GMTSLatLng? { get }

    Objective-C

    @property (nonatomic, copy, readonly, nullable) GMTSLatLng *point;
  • Human-readable name of the terminal location.

    Declaration

    Swift

    var terminalLocationLabel: String? { get }

    Objective-C

    @property (nonatomic, copy, readonly, nullable) NSString *terminalLocationLabel;
  • A longer description of the terminal location, which may include how to get to the location.

    Declaration

    Swift

    var terminalLocationDescription: String? { get }

    Objective-C

    @property (nonatomic, copy, readonly, nullable) NSString *terminalLocationDescription;
  • The Place ID of the terminal point. Refer to https://developers.google.com/places/web-service/place-id for more detail.

    Declaration

    Swift

    var placeID: String? { get }

    Objective-C

    @property (nonatomic, copy, readonly, nullable) NSString *placeID;
  • A generated ID if the place ID is not available. The ID is nil if there is already a valid place ID.

    Declaration

    Swift

    var generatedID: String? { get }

    Objective-C

    @property (nonatomic, copy, readonly, nullable) NSString *generatedID;
  • 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.

    Declaration

    Swift

    var accessPointID: String? { get }

    Objective-C

    @property (nonatomic, copy, readonly, nullable) NSString *accessPointID;
  • Initializes an instance of GMTSTerminalLocation.

    Declaration

    Swift

    init(point: GMTSLatLng?, label terminalLocationLabel: String?, description terminalLocationDescription: String?, placeID: String?, generatedID: String?, accessPointID: String?)

    Objective-C

    - (nonnull 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;

    Parameters

    point

    The point location of the terminal.

    terminalLocationLabel

    Human-readable name of the terminal location.

    terminalLocationDescription

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

    placeID

    The Place ID of the terminal point.

    generatedID

    A generated ID if the place ID is not available.

    accessPointID

    An access point ID of the current terminal location from the associated trip.

  • Unavailable

    Declaration

    Objective-C

    - (nonnull instancetype)init;