Class: UIInteractionAction
- Inherits:
-
DeviceAction
- Object
- MacroObject
- Action
- DeviceAction
- UIInteractionAction
- 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 = {}) ⇒ UIInteractionAction
constructor
A new instance of UIInteractionAction.
- #to_s(colour: false) ⇒ Object (also: #to_summary)
Methods inherited from Action
Methods inherited from MacroObject
Constructor Details
#initialize(h = {}) ⇒ UIInteractionAction
Returns a new instance of UIInteractionAction.
3415 3416 3417 3418 3419 3420 3421 3422 3423 3424 |
# File 'lib/ruby-macrodroid.rb', line 3415 def initialize(h={}) = { ui_interaction_configuration: {:type=>"Copy"}, action: 2 } super(.merge h) end |
Instance Method Details
#to_s(colour: false) ⇒ Object Also known as: to_summary
3426 3427 3428 |
# File 'lib/ruby-macrodroid.rb', line 3426 def to_s(colour: false) 'UIInteractionAction ' + @h.inspect end |