Class: SpeakTextAction
- Inherits:
-
DeviceAction
- Object
- MacroObject
- Action
- DeviceAction
- SpeakTextAction
- Defined in:
- lib/ruby-macrodroid.rb
Overview
Category: Device Actions
Instance Attribute Summary
Attributes inherited from MacroObject
Instance Method Summary collapse
-
#initialize(h = {}) ⇒ SpeakTextAction
constructor
A new instance of SpeakTextAction.
Methods inherited from Action
Methods inherited from MacroObject
Constructor Details
#initialize(h = {}) ⇒ SpeakTextAction
Returns a new instance of SpeakTextAction.
2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 |
# File 'lib/ruby-macrodroid.rb', line 2561 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 |