Class: VoiceSearchAction
- Inherits:
-
DeviceAction
- Object
- MacroObject
- Action
- DeviceAction
- VoiceSearchAction
- Defined in:
- lib/ruby-macrodroid.rb
Overview
Category: Device Actions
Instance Attribute Summary
Attributes inherited from Action
Attributes inherited from MacroObject
Instance Method Summary collapse
-
#initialize(h = {}) ⇒ VoiceSearchAction
constructor
A new instance of VoiceSearchAction.
- #to_s(colour: false) ⇒ Object (also: #to_summary)
Methods inherited from Action
Methods inherited from MacroObject
Constructor Details
#initialize(h = {}) ⇒ VoiceSearchAction
Returns a new instance of VoiceSearchAction.
3437 3438 3439 3440 3441 3442 3443 3444 |
# File 'lib/ruby-macrodroid.rb', line 3437 def initialize(h={}) = { } super(.merge h) end |
Instance Method Details
#to_s(colour: false) ⇒ Object Also known as: to_summary
3446 3447 3448 |
# File 'lib/ruby-macrodroid.rb', line 3446 def to_s(colour: false) 'VoiceSearchAction ' + @h.inspect end |