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

getProperties

获取 artyom 对象的内部属性(配置属性)。

该函数返回 artyom 的真实配置对象。不要尝试去改变该对象的任何属性,因为不会发生任何事,该方法只是一个 getter。

该对象存储了 language, speed, volume, isRecognizing 和 mode 属性。

console.log(artyom.getProperties());
PreviousgetLanguageNextgetVoices

Last updated 5 years ago

Was this helpful?