Speech Provider - v0.1.4
    Preparing search index...

    Interface Utterance

    Represents a speech utterance that can be controlled.

    interface Utterance {
        set onend(callback: () => void): void;
        set onstart(callback: () => void): void;
        start(): void;
        stop(): void;
    }

    Implemented by

    Index

    Accessors

    Methods

    Accessors

    • set onend(callback: () => void): void

      Set the callback for when the utterance finishes speaking

      Parameters

      • callback: () => void

      Returns void

    • set onstart(callback: () => void): void

      Set the callback for when the utterance starts speaking

      Parameters

      • callback: () => void

      Returns void

    Methods