AI-generated Key Takeaways
-
GMSVoiceGuidanceAudioDeviceType
is an enum used to control audio output for voice guidance. -
It offers two options:
builtInOnly
restricts audio to the device's built-in speaker or headphones, whilebluetooth
prioritizes Bluetooth but falls back to the built-in audio if unavailable.
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
Swift
case bluetooth = 1
Objective-C
GMSVoiceGuidanceAudioDeviceTypeBluetooth