Page Summary
-
GMSNavigationVoiceGuidanceis an enum used to control voice guidance during navigation. -
It offers three options:
silentto disable voice guidance completely,alertsOnlyfor traffic alerts only, andalertsAndGuidancefor both turn-by-turn directions and alerts. -
Developers can use this enum to customize the level of voice guidance provided in their navigation applications.
GMSNavigationVoiceGuidance
enum GMSNavigationVoiceGuidance : NSInteger {}Determines whether voice guidance is played under certain circumstances.
-
Disables voice guidance.
Declaration
Swift
case silent = 0Objective-C
GMSNavigationVoiceGuidanceSilent = 0 -
Enables voice guidance for traffic alerts only.
Declaration
Swift
case alertsOnly = 1Objective-C
GMSNavigationVoiceGuidanceAlertsOnly -
Enables voice guidance for both turn-by-turn guidance and alerts.
Declaration
Swift
case alertsAndGuidance = 2Objective-C
GMSNavigationVoiceGuidanceAlertsAndGuidance