pub unsafe trait NSSpeechSynthesizerDelegate: NSObjectProtocol + MainThreadOnly {
// Provided methods
unsafe fn speechSynthesizer_didFinishSpeaking(
&self,
sender: &NSSpeechSynthesizer,
finished_speaking: bool,
)
where Self: Sized + Message { ... }
unsafe fn speechSynthesizer_willSpeakWord_ofString(
&self,
sender: &NSSpeechSynthesizer,
character_range: NSRange,
string: &NSString,
)
where Self: Sized + Message { ... }
unsafe fn speechSynthesizer_willSpeakPhoneme(
&self,
sender: &NSSpeechSynthesizer,
phoneme_opcode: c_short,
)
where Self: Sized + Message { ... }
unsafe fn speechSynthesizer_didEncounterErrorAtIndex_ofString_message(
&self,
sender: &NSSpeechSynthesizer,
character_index: NSUInteger,
string: &NSString,
message: &NSString,
)
where Self: Sized + Message { ... }
unsafe fn speechSynthesizer_didEncounterSyncMessage(
&self,
sender: &NSSpeechSynthesizer,
message: &NSString,
)
where Self: Sized + Message { ... }
}
👎Deprecated: Use AVSpeechSynthesizer in AVFoundation instead
Available on crate feature
NSSpeechSynthesizer
only.Expand description
Provided Methods§
unsafe fn speechSynthesizer_didFinishSpeaking( &self, sender: &NSSpeechSynthesizer, finished_speaking: bool, )
👎Deprecated: Use AVSpeechSynthesizer in AVFoundation instead
unsafe fn speechSynthesizer_willSpeakWord_ofString( &self, sender: &NSSpeechSynthesizer, character_range: NSRange, string: &NSString, )
👎Deprecated: Use AVSpeechSynthesizer in AVFoundation instead
unsafe fn speechSynthesizer_willSpeakPhoneme( &self, sender: &NSSpeechSynthesizer, phoneme_opcode: c_short, )
👎Deprecated: Use AVSpeechSynthesizer in AVFoundation instead
unsafe fn speechSynthesizer_didEncounterErrorAtIndex_ofString_message( &self, sender: &NSSpeechSynthesizer, character_index: NSUInteger, string: &NSString, message: &NSString, )
👎Deprecated: Use AVSpeechSynthesizer in AVFoundation instead
unsafe fn speechSynthesizer_didEncounterSyncMessage( &self, sender: &NSSpeechSynthesizer, message: &NSString, )
👎Deprecated: Use AVSpeechSynthesizer in AVFoundation instead