TWCAudioOutput Constants Reference
| Declared in | TwilioConversationsClient.h |
|---|
TWCAudioOutput
TWCAudioOutput allows you to control audio playback and recording.
Definition
typedef NS_ENUM(NSUInteger, TWCAudioOutput ) {
TWCAudioOutputDefault = 0,
TWCAudioOutputSpeaker = 1,
TWCAudioOutputReceiver = 2,
TWCAudioOutputApplication = 3,
};
Constants
TWCAudioOutputDefault-
The default audio behaviour. Any audio route which supports both input and output will be selectable via control center.
Declared In
TwilioConversationsClient.h. TWCAudioOutputSpeaker-
Prefer the device loudspeaker and front facing microphone where possible, even when headphones are plugged in.
Declared In
TwilioConversationsClient.h. TWCAudioOutputReceiver-
Use the iPhone’s built-in Receiver and bottom Microphone. On iPad and iPod Touch, optimize for audio only conversations.
Declared In
TwilioConversationsClient.h. TWCAudioOutputApplication-
Allow the application to manage the
AVAudioSessionas much as possible.Declared In
TwilioConversationsClient.h.
Declared In
TwilioConversationsClient.h