GoogleNavigation Framework Reference

GMSNavigationNavState

enum GMSNavigationNavState : NSInteger {}

The state of navigation.

  • Error or unspecified state.

    Declaration

    Swift

    case unknown = 0

    Objective-C

    GMSNavigationNavStateUnknown = 0
  • Actively navigating. Information about the upcoming maneuver step is available.

    Declaration

    Swift

    case enroute = 1

    Objective-C

    GMSNavigationNavStateEnroute = 1
  • Actively navigating but searching for a new route. The upcoming maneuver step is not yet available.

    Declaration

    Swift

    case rerouting = 2

    Objective-C

    GMSNavigationNavStateRerouting = 2
  • Navigation has ended.

    Declaration

    Swift

    case stopped = 3

    Objective-C

    GMSNavigationNavStateStopped = 3