Class: SendIntentAction

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

Instance Method Summary collapse

Methods inherited from MacroObject

#to_h

Constructor Details

#initialize(h = {}) ⇒ SendIntentAction

Returns a new instance of SendIntentAction.



1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
# File 'lib/ruby-macrodroid.rb', line 1548

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