GoogleNavigation Framework Reference
    
    
      
    
    
      
      Stay organized with collections
    
    
      
      Save and categorize content based on your preferences.
    
  
  
      
    
  
  
  
  
  
    
  
  
    
    
    
      
        
          
            GMSNavigationVoiceGuidance
              
                
                  enum GMSNavigationVoiceGuidance : NSInteger {}
                 
               
            Determines whether voice guidance is played under certain circumstances.
          
          
            
              
                - 
                  
                  
                    
                    
                      
                      
                      
                        Declaration
                          Objective-C GMSNavigationVoiceGuidanceSilent = 0
 
 
 
 
- 
                  
                  
                    
                    
                      
                      
                        Enables voice guidance for traffic alerts only. 
 
                        Declaration
                          Swift case alertsOnly = 1
 
 
                          Objective-C GMSNavigationVoiceGuidanceAlertsOnly
 
 
 
 
- 
                  
                  
                    
                    
                      
                      
                        Enables voice guidance for both turn-by-turn guidance and alerts. 
 
                        Declaration
                          Swift case alertsAndGuidance = 2
 
 
                          Objective-C GMSNavigationVoiceGuidanceAlertsAndGuidance
 
 
 
 
           
        
      
     
  
  
  
    
  
 
  
    
    
      
       
    
    
  
  
  Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
  Last updated 2025-08-27 UTC.
  
  
  
    
      [null,null,["Last updated 2025-08-27 UTC."],[],["`GMSNavigationVoiceGuidance` controls voice guidance behavior, offering three options. `silent` (0) completely disables voice guidance. `alertsOnly` (1) activates voice guidance solely for traffic alerts. `alertsAndGuidance` (2) enables voice guidance for both turn-by-turn directions and traffic alerts. These are defined in both Swift (`case`) and Objective-C (`GMSNavigationVoiceGuidance`) as `enum` with different `NSInteger` values, allowing developers to customize the level of voice feedback in their applications.\n"]]