GMSNavigationNavInfo
@interface GMSNavigationNavInfo : NSObjectContains information about the state of navigation
- 
                  
                  The current GMSNavigationNavStatefor navigation.DeclarationSwift var navState: GMSNavigationNavState { get }Objective-C @property (nonatomic, readonly) GMSNavigationNavState navState;
- 
                  
                  Information about the upcoming maneuver step. This is only set if the navState is GMSNavigationNavStateEnrouteand will be null otherwise.DeclarationSwift var currentStep: GMSNavigationStepInfo? { get }Objective-C @property (nonatomic, readonly, nullable) GMSNavigationStepInfo *currentStep;
- 
                  
                  The remaining steps after the current step. DeclarationSwift var remainingSteps: [GMSNavigationStepInfo] { get }Objective-C @property (nonatomic, readonly) NSArray<GMSNavigationStepInfo *> *_Nonnull remainingSteps;
- 
                  
                  Whether the route has changed since the last sent message. A route change may be caused by a reroute, the addition/removal of a waypoint, the user selecting or driving onto an alternate route, or a traffic update. DeclarationSwift var routeChanged: Bool { get }Objective-C @property (nonatomic, readonly) BOOL routeChanged;
- 
                  
                  The estimated remaining time in seconds along the route to the current step. DeclarationSwift var timeToCurrentStepSeconds: TimeInterval { get }Objective-C @property (nonatomic, readonly) NSTimeInterval timeToCurrentStepSeconds;
- 
                  
                  The estimated remaining distance in meters along the route to the current step . DeclarationSwift var distanceToCurrentStepMeters: CLLocationDistance { get }Objective-C @property (nonatomic, readonly) CLLocationDistance distanceToCurrentStepMeters;
- 
                  
                  The estimated remaining time in seconds to the final destination. DeclarationSwift var timeToFinalDestinationSeconds: TimeInterval { get }Objective-C @property (nonatomic, readonly) NSTimeInterval timeToFinalDestinationSeconds;
- 
                  
                  The estimated remaining distance in meters to the final destination. DeclarationSwift var distanceToFinalDestinationMeters: CLLocationDistance { get }Objective-C @property (nonatomic, readonly) CLLocationDistance distanceToFinalDestinationMeters;
- 
                  
                  Returns a time rounded to the nearest minute, with a minimum of one minute. This can be useful when displaying route information to users, since it can be confusing to display times such a “0 min”. Due to the above, input values to this method should always be positive. DeclarationSwift func roundedTime(_ timeSeconds: TimeInterval) -> TimeIntervalObjective-C - (NSTimeInterval)roundedTime:(NSTimeInterval)timeSeconds;
- 
                  
                  Returns a rounded measurement representing the given distance, taking into account user preferences and the recommended distance unit for the route. DeclarationSwift func roundedDistance(_ distanceMeters: CLLocationDistance) -> Measurement<UnitLength>Objective-C - (nonnull NSMeasurement<NSUnitLength *> *)roundedDistance: (CLLocationDistance)distanceMeters;
- 
                  
                  The formatted instructions for the given step. DeclarationSwift func instructions(forStep stepInfo: GMSNavigationStepInfo, options: GMSNavigationInstructionOptions) -> [NSAttributedString]Objective-C - (nonnull NSArray<NSAttributedString *> *) instructionsForStep:(nonnull GMSNavigationStepInfo *)stepInfo options:(nonnull GMSNavigationInstructionOptions *)options;
- 
                  
                  Unavailable DeclarationObjective-C - (null_unspecified instancetype)init NS_UNAVAILABLE;