AI-generated Key Takeaways
-
GMSVoiceGuidanceAudioDeviceTypeis an enum used to control audio output for voice guidance. -
It offers two options:
builtInOnlyrestricts audio to the device's built-in speaker or headphones, whilebluetoothprioritizes 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 = 0Objective-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 = 1Objective-C
GMSVoiceGuidanceAudioDeviceTypeBluetooth