Class: SetScreenTimeoutAction
- Inherits:
-
Action
- Object
- MacroObject
- Action
- SetScreenTimeoutAction
- Defined in:
- lib/ruby-macrodroid.rb
Instance Method Summary collapse
-
#initialize(h = {}) ⇒ SetScreenTimeoutAction
constructor
A new instance of SetScreenTimeoutAction.
Methods inherited from MacroObject
Constructor Details
#initialize(h = {}) ⇒ SetScreenTimeoutAction
Returns a new instance of SetScreenTimeoutAction.
2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 |
# File 'lib/ruby-macrodroid.rb', line 2415 def initialize(h={}) = { timeout_delay_string: '1 Minute', timeout_delay: 60, custom_value_delay: 0 } super(.merge h) end |