Global Variable

AVAudioSessionModeGameChat

A mode that the GameKit framework sets on behalf of an application that uses GameKit’s voice chat service.

Declaration

const AVAudioSessionMode AVAudioSessionModeGameChat;

Discussion

This mode is valid only with the AVAudioSessionCategoryPlayAndRecord audio session category.

Don’t set this mode directly. If you need similar behavior and aren’t using a GKVoiceChat object, use AVAudioSessionModeVoiceChat or AVAudioSessionModeVideoChat instead.

See Also

Audio Session Modes

AVAudioSessionModeDefault

The default audio session mode.

AVAudioSessionModeMeasurement

A mode that indicates that your app is performing measurement of audio input or output.

AVAudioSessionModeMoviePlayback

A mode that indicates that your app is playing back movie content.

AVAudioSessionModeSpokenAudio

A mode used for continuous spoken audio to pause the audio when another app plays a short audio prompt.

AVAudioSessionModeVideoChat

A mode that indicates that your app is engaging in online video conferencing.

AVAudioSessionModeVideoRecording

A mode that indicates that your app is recording a movie.

AVAudioSessionModeVoiceChat

A mode that indicates that your app is performing two-way voice communication, such as using Voice over Internet Protocol (VoIP).

AVAudioSessionModeVoicePrompt

A mode that indicates that your app plays audio using text-to-speech.