Class: UIInteractionAction
- Inherits:
-
DeviceAction
- Object
- MacroObject
- Action
- DeviceAction
- UIInteractionAction
- Defined in:
- lib/ruby-macrodroid/actions.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.
797 798 799 800 801 802 803 804 805 806 |
# File 'lib/ruby-macrodroid/actions.rb', line 797 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
808 809 810 |
# File 'lib/ruby-macrodroid/actions.rb', line 808 def to_s(colour: false) 'UIInteractionAction ' + @h.inspect end |