@situm/react-native
    Preparing search index...

    Type Alias TextToSpeechMessage

    This class represents the object that contains the message passed from the viewer to the application. This message represents the requirement to read aloud a text with some parameters like language, volume, etc.

    type TextToSpeechMessage = {
        lang: string | undefined;
        pitch: number | undefined;
        rate: number | undefined;
        text: string;
        volume: number | undefined;
    }
    Index

    Properties

    lang: string | undefined

    A String that represents the language code, i.e. es-ES

    pitch: number | undefined

    A decimal number that represents the speech pitch from 0.0 to 1.0

    rate: number | undefined

    A decimal number that represents the speech rate from 0.0 to 1.0

    text: string

    A String message that will be read aloud using TTS

    volume: number | undefined

    A decimal number that represents the volume from 0.0 to 1.0