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.
3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 |
# File 'lib/ruby-macrodroid.rb', line 3422 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
3433 3434 3435 |
# File 'lib/ruby-macrodroid.rb', line 3433 def to_s(colour: false) 'UIInteractionAction ' + @h.inspect end |