STAudioSessionCategoryOption Constants Reference
| Declared in | STMediaParams_doc.h |
STAudioSessionCategoryOption
This constant enumerator defines the Audio Session Category Option of (ASCO). Audio Session Category is set by default to AVAudioSessionCategoryPlayAndRecord. Does not applay to macOS.
Definition
enum STAudioSessionCategoryOption: Int {
case ASCO_MixWithOthers = 0x1,
ASCO_DuckOthers = 0x2,
ASCO_AllowBluetooth = 0x4,
ASCO_DefaultToSpeaker = 0x8,
ASCO_InterruptSpokenAudioAndMixWithOthers = 0x11,
ASCO_AllowBluetoothA2DP = 0x20,
ASCO_AllowAirPlay = 0x40
}
Constants
case ASCO_MixWithOthers-
Mix with others.
Declared In
STMediaParams_doc.h. case ASCO_DuckOthers-
Duck others.
Declared In
STMediaParams_doc.h. case ASCO_AllowBluetooth-
Allow bluetooth.
Declared In
STMediaParams_doc.h. case ASCO_DefaultToSpeaker-
Default to speaker.
Declared In
STMediaParams_doc.h. case ASCO_InterruptSpokenAudioAndMixWithOthers-
Interrupt spoken audio and mix with others.
Declared In
STMediaParams_doc.h. case ASCO_AllowBluetoothA2DP-
Allow bluetooth A2DP.
Declared In
STMediaParams_doc.h. case ASCO_AllowAirPlay-
Allow airplay.
Declared In
STMediaParams_doc.h.
Declared In
STMediaParams_doc.h