#[repr(transparent)]pub struct AVAudioSessionPromptStyle(pub NSUInteger);AVAudioSessionTypes only.Expand description
The prompt style is a hint to sessions that use AVAudioSessionModeVoicePrompt to modify the type of prompt they play in response to other audio activity on the system, such as Siri or phone calls. Sessions that issue voice prompts are encouraged to pay attention to changes in the prompt style and modify their prompts in response. Apple encourages the use of non-verbal prompts when the Short style is requested.
Indicates that another session is actively using microphone input and would be negatively impacted by having prompts play at that time. For example if Siri is recognizing speech, having navigation or exercise prompts play, could interfere with its ability to accurately recognize the user’s speech. Client sessions should refrain from playing any prompts while the prompt style is None.
Indicates one of three states: Siri is active but not recording, voicemail playback is active, or voice call is active. Short, non-verbal versions of prompts should be used.
Indicates that normal (long, verbal) versions of prompts may be used.
See also Apple’s documentation
Tuple Fields§
§0: NSUIntegerImplementations§
Trait Implementations§
Source§impl Clone for AVAudioSessionPromptStyle
impl Clone for AVAudioSessionPromptStyle
Source§fn clone(&self) -> AVAudioSessionPromptStyle
fn clone(&self) -> AVAudioSessionPromptStyle
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more