Class: SendIntentAction

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

Overview

Category: Connectivity

Instance Attribute Summary

Attributes inherited from Action

#constraints

Attributes inherited from MacroObject

#options, #siguid, #type

Instance Method Summary collapse

Methods inherited from Action

#invoke

Methods inherited from MacroObject

#to_h, #to_s

Constructor Details

#initialize(h = {}) ⇒ SendIntentAction

Returns a new instance of SendIntentAction.



2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
# File 'lib/ruby-macrodroid.rb', line 2808

def initialize(h={})

  options = {
    action: '',
    class_name: '',
    data: '',
    extra1_name: '',
    extra1_value: '',
    extra2_name: '',
    extra2_value: '',
    extra3_name: '',
    extra3_value: '',
    extra4_name: '',
    extra4_value: '',
    package_name: '',
    target: 'Activity'
  }

  super(options.merge h)

end