Type Alias AVSpeechSynthesisProviderOutputBlock

Source
pub type AVSpeechSynthesisProviderOutputBlock = *mut Block<dyn Fn(NonNull<NSArray<AVSpeechSynthesisMarker>>, NonNull<AVSpeechSynthesisProviderRequest>)>;
Available on crate features AVSpeechSynthesis and AVSpeechSynthesisProvider and block2 only.
Expand description

A block of information that is relevant to the generation of speech synthesis.

Parameter metadata: An array of speech synthesis metadata

Parameter speechRequest: The speech request associated with the metadata

See also Apple’s documentation