Class: LaunchActivityAction
- Inherits:
-
Action
- Object
- MacroObject
- Action
- LaunchActivityAction
- Defined in:
- lib/ruby-macrodroid.rb
Instance Method Summary collapse
-
#initialize(h = {}) ⇒ LaunchActivityAction
constructor
A new instance of LaunchActivityAction.
Methods inherited from MacroObject
Constructor Details
#initialize(h = {}) ⇒ LaunchActivityAction
Returns a new instance of LaunchActivityAction.
1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 |
# File 'lib/ruby-macrodroid.rb', line 1419 def initialize(h={}) = { application_name: 'Chrome', package_to_launch: 'com.android.chrome', exclude_from_recents: false, start_new: false } super(.merge h) end |