speechInitializeLibrary

Typehandler
Dictionarynative.speech
LibrarySpeech Library
Syntax
speechInitializeLibrary()
Associationscom.livecode.library.native.speech
Summary

Initialize the library

OSmac, ios, android
Platformsdesktop, mobile
Example
    on preOpenStack
        speechInitializeLibrary
    end preOpenStack

    on speechLibraryInitialized pSuccess
        if pSuccess then
            speechSpeakUtterance "Ready"
        end if
    end speechLibraryInitialized
Description

Before the speech library can get voices or speak it must be completely initialized. Call the speechInitializeLibrary command tp initialize the the library. The speechLibraryInitialized message will be sent to the caller with a success parameter.