Class: LaunchActivityAction
- Inherits:
-
ApplicationAction
- Object
- MacroObject
- Action
- ApplicationAction
- LaunchActivityAction
- Defined in:
- lib/ruby-macrodroid.rb
Overview
Category: Applications
Instance Attribute Summary
Attributes inherited from MacroObject
Instance Method Summary collapse
-
#initialize(h = {}) ⇒ LaunchActivityAction
constructor
A new instance of LaunchActivityAction.
Methods inherited from Action
Methods inherited from MacroObject
Constructor Details
#initialize(h = {}) ⇒ LaunchActivityAction
Returns a new instance of LaunchActivityAction.
1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 |
# File 'lib/ruby-macrodroid.rb', line 1736 def initialize(h={}) = { application_name: 'Chrome', package_to_launch: 'com.android.chrome', exclude_from_recents: false, start_new: false } super(.merge h) end |