Artyom.js 中文翻译
  • Artyom
  • FAQ
  • 翻译相关
  • 开始
    • 简介
    • 必要条件
    • Changelog
  • API
    • isObeying
    • addCommands
    • clearGarbageCollection
    • debug
    • detectErrors
    • device
    • emptyCommands
    • fatality
    • getAvailableCommands
    • getLanguage
    • getProperties
    • getVoices
    • initialize
    • isRecognizing
    • isSpeaking
    • newDictation
    • newPrompt
    • obey
    • on
    • recognizingSupported
    • redirectRecognizedTextOutput
    • remoteProcessorService
    • removeCommands
    • repeatLastSay
    • restart
    • say
    • sayRandom
    • setDebug
    • Shutup
    • simulateInstruction
    • speechSupported
    • when
Powered by GitBook
On this page

Was this helpful?

  1. API

repeatLastSay

重复Artyom.js执行的最后一个合成文本

该方法将会返回上一条说出的语句或返回对象中的文字文本。 但如果 artyom.say 函数没有在之前使用,那么将不会发生任何事。

artyom.say("Hello", {
    onEnd: function(){
        // Say Hello Again
        artyom.repeatLastSay();
    }
});
PreviousremoveCommandsNextrestart

Last updated 5 years ago

Was this helpful?