SDK Reference

    @proveanything/smartlinks

    npm install @proveanything/smartlinks
    View on npm →

    Namespaces

    Other

    voice

    Functions for voice operations

    3 functions0 types

    isSupported

    Check if voice is supported in browser

    public
    isSupported() → boolean

    listen

    Listen for voice input

    public
    listen(language = 'en-US') → Promise<string>

    speak

    Speak text

    public
    speak(text: string, options?: { voice?: string; rate?: number }) → Promise<void>