Class: ExternalPowerTrigger
- Inherits:
-
Trigger
- Object
- MacroObject
- Trigger
- ExternalPowerTrigger
- Defined in:
- lib/ruby-macrodroid.rb
Overview
Category: Battery/Power
Instance Attribute Summary
Attributes inherited from MacroObject
Instance Method Summary collapse
-
#initialize(h = {}) ⇒ ExternalPowerTrigger
constructor
A new instance of ExternalPowerTrigger.
Methods inherited from Trigger
Methods inherited from MacroObject
Constructor Details
#initialize(h = {}) ⇒ ExternalPowerTrigger
Returns a new instance of ExternalPowerTrigger.
744 745 746 747 748 749 750 751 752 753 754 755 |
# File 'lib/ruby-macrodroid.rb', line 744 def initialize(h={}) = { power_connected_options: [true, true, true], has_set_usb_option: true, power_connected: true, has_set_new_power_connected_options: true } super(.merge h) end |