GoogleRidesharingConsumer Framework Reference

  • GMTCAuthorizationContext is an immutable object used to retrieve an authentication token.

  • The tripID property provides the ID of the trip for which the auth token is needed.

  • The tripID property is a read-only string.

  • This class cannot be initialized directly, as it does not offer any public initializers.

GMTCAuthorizationContext

@interface GMTCAuthorizationContext : GMTCImmutableData

An immutable object representing the context needed to fetch an auth token.

  • The ID of the trip to fetch an auth token for.

    Declaration

    Swift

    var tripID: String { get }

    Objective-C

    @property (nonatomic, readonly) NSString *_Nonnull tripID;
  • Unavailable

    This class has no public initializers.

    Declaration

    Objective-C

    - (null_unspecified instancetype)init;