GoogleNavigation Framework Reference

GMSActiveGuidanceUIState

@protocol GMSActiveGuidanceUIState <GMSNavigationUIState>

Optional Google-provided UI elements for the active guidance state.

  • Declaration

    Swift

    var turnCard: UIView { get }

    Objective-C

    @property(nonatomic, readonly) UIView *turnCard
  • Declaration

    Swift

    var etaCard: UIView { get }

    Objective-C

    @property(nonatomic, readonly) UIView *etaCard
  • Declaration

    Swift

    var tripProgressBar: UIView { get }

    Objective-C

    @property(nonatomic, readonly) UIView *tripProgressBar
  • Declaration

    Swift

    var speedWidget: UIView { get }

    Objective-C

    @property(nonatomic, readonly) UIView *speedWidget
  • Google-provided buttons for the active guidance state.

    Note these are typically different from the buttons for the navigation-ready state.

    Declaration

    Swift

    var buttons: [any NavigationUIButton] { get }

    Objective-C

    @property (nonatomic, readonly) NSArray<id<GMSNavigationUIButton>> *_Nonnull buttons;