Class: SpeakTextAction
- Inherits:
-
Action
- Object
- MacroObject
- Action
- SpeakTextAction
- Defined in:
- lib/ruby-macrodroid.rb
Instance Method Summary collapse
-
#initialize(h = {}) ⇒ SpeakTextAction
constructor
A new instance of SpeakTextAction.
Methods inherited from MacroObject
Constructor Details
#initialize(h = {}) ⇒ SpeakTextAction
Returns a new instance of SpeakTextAction.
1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 |
# File 'lib/ruby-macrodroid.rb', line 1667 def initialize(h={}) = { text_to_say: '', queue: false, read_numbers_individually: false, specify_audio_stream: false, speed: 0.99, pitch: 0.99, wait_to_finish: false, audio_stream: 0 } super(.merge h) end |