Class: UIInteractionAction

Inherits:
DeviceAction show all
Defined in:
lib/ruby-macrodroid.rb

Overview

Category: Device Actions

Instance Attribute Summary

Attributes inherited from MacroObject

#options, #type

Instance Method Summary collapse

Methods inherited from Action

#invoke

Methods inherited from MacroObject

#to_h, #to_s

Constructor Details

#initialize(h = {}) ⇒ UIInteractionAction



2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
# File 'lib/ruby-macrodroid.rb', line 2584

def initialize(h={})

  options = {
    ui_interaction_configuration: {:type=>"Copy"},
    action: 2
  }

  super(options.merge h)

end