GoogleNavigation Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
GMSVoiceGuidanceAudioDeviceType
enum GMSVoiceGuidanceAudioDeviceType : NSInteger {}
Determines what type of audio devices voice guidance may be played through.
-
Voice guidance plays only through the built-in device speaker or headphones.
Declaration
Swift
case builtInOnly = 0
Objective-C
GMSVoiceGuidanceAudioDeviceTypeBuiltInOnly = 0
-
Voice guidance plays over a bluetooth connection if available, else it uses the built-in device
speaker or headphones.
Declaration
Objective-C
GMSVoiceGuidanceAudioDeviceTypeBluetooth
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."],[[["\u003cp\u003e\u003ccode\u003eGMSVoiceGuidanceAudioDeviceType\u003c/code\u003e is an enum used to control audio output for voice guidance.\u003c/p\u003e\n"],["\u003cp\u003eIt offers two options: \u003ccode\u003ebuiltInOnly\u003c/code\u003e restricts audio to the device's built-in speaker or headphones, while \u003ccode\u003ebluetooth\u003c/code\u003e prioritizes Bluetooth but falls back to the built-in audio if unavailable.\u003c/p\u003e\n"]]],[],null,["# GoogleNavigation Framework Reference\n\nGMSVoiceGuidanceAudioDeviceType\n===============================\n\n enum GMSVoiceGuidanceAudioDeviceType : NSInteger {}\n\nDetermines what type of audio devices voice guidance may be played through.\n- `\n ``\n ``\n `\n\n ### [GMSVoiceGuidanceAudioDeviceTypeBuiltInOnly](#/c:@E@GMSVoiceGuidanceAudioDeviceType@GMSVoiceGuidanceAudioDeviceTypeBuiltInOnly)\n\n `\n ` \n Voice guidance plays only through the built-in device speaker or headphones. \n\n #### Declaration\n\n Swift \n\n case builtInOnly = 0\n\n Objective-C \n\n GMSVoiceGuidanceAudioDeviceTypeBuiltInOnly = 0\n\n- `\n ``\n ``\n `\n\n ### [GMSVoiceGuidanceAudioDeviceTypeBluetooth](#/c:@E@GMSVoiceGuidanceAudioDeviceType@GMSVoiceGuidanceAudioDeviceTypeBluetooth)\n\n `\n ` \n Voice guidance plays over a bluetooth connection if available, else it uses the built-in device\n speaker or headphones. \n\n #### Declaration\n\n Swift \n\n case bluetooth = 1\n\n Objective-C \n\n GMSVoiceGuidanceAudioDeviceTypeBluetooth"]]