The IDs of the iOS audio session category options, used for customizing the audio session category features. These IDs are funtionally equivalent to the corresponding constants defined by the iOS audio session service backend (AVAudioSession). Refer to Xcode documentation for details on the audio session category options. The original prefix "AV" is replaced with "Ak" for the ID names.
枚举值 |
---|
AkAudioSessionCategoryOptionMixWithOthers | Same as AVAudioSessionCategoryOptionMixWithOthers. Only affects PlayAndRecord and Playback categories.
|
AkAudioSessionCategoryOptionDuckOthers | Same as AVAudioSessionCategoryOptionDuckOthers. Implicitely sets the MixWithOthers option. Only affects PlayAndRecord and Playback categories.
|
AkAudioSessionCategoryOptionAllowBluetooth | Same as AVAudioSessionCategoryOptionAllowBluetooth. Only affects PlayAndRecord category.
|
AkAudioSessionCategoryOptionDefaultToSpeaker | Same as AVAudioSessionCategoryOptionDefaultToSpeaker. Only affects PlayAndRecord category.
|
AkAudioSessionCategoryOptionAllowBluetoothA2DP | Same as AVAudioSessionCategoryOptionAllowBluetoothA2DP. Only affects PlayAndRecord category.
|