Interface AVSpeechSynthesizerDelegate


  • public interface AVSpeechSynthesizerDelegate
    [@protocol] AVSpeechSynthesizerDelegate Defines an interface for delegates of AVSpeechSynthesizer to receive notifications of important speech utterance events.
    • Method Detail

      • speechSynthesizerDidCancelSpeechUtterance

        default void speechSynthesizerDidCancelSpeechUtterance​(@NotNull
                                                               @NotNull AVSpeechSynthesizer synthesizer,
                                                               @NotNull
                                                               @NotNull AVSpeechUtterance utterance)
        API-Since: 7.0
      • speechSynthesizerDidContinueSpeechUtterance

        default void speechSynthesizerDidContinueSpeechUtterance​(@NotNull
                                                                 @NotNull AVSpeechSynthesizer synthesizer,
                                                                 @NotNull
                                                                 @NotNull AVSpeechUtterance utterance)
        API-Since: 7.0
      • speechSynthesizerDidFinishSpeechUtterance

        default void speechSynthesizerDidFinishSpeechUtterance​(@NotNull
                                                               @NotNull AVSpeechSynthesizer synthesizer,
                                                               @NotNull
                                                               @NotNull AVSpeechUtterance utterance)
        API-Since: 7.0
      • speechSynthesizerDidPauseSpeechUtterance

        default void speechSynthesizerDidPauseSpeechUtterance​(@NotNull
                                                              @NotNull AVSpeechSynthesizer synthesizer,
                                                              @NotNull
                                                              @NotNull AVSpeechUtterance utterance)
        API-Since: 7.0
      • speechSynthesizerDidStartSpeechUtterance

        default void speechSynthesizerDidStartSpeechUtterance​(@NotNull
                                                              @NotNull AVSpeechSynthesizer synthesizer,
                                                              @NotNull
                                                              @NotNull AVSpeechUtterance utterance)
        API-Since: 7.0
      • speechSynthesizerWillSpeakRangeOfSpeechStringUtterance

        default void speechSynthesizerWillSpeakRangeOfSpeechStringUtterance​(@NotNull
                                                                            @NotNull AVSpeechSynthesizer synthesizer,
                                                                            NSRange characterRange,
                                                                            @NotNull
                                                                            @NotNull AVSpeechUtterance utterance)
        API-Since: 7.0