Class: SetScreenTimeoutAction

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

Instance Method Summary collapse

Methods inherited from MacroObject

#to_h

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={})

  options = {
    timeout_delay_string: '1 Minute',
    timeout_delay: 60,
    custom_value_delay: 0
  }

  super(options.merge h)

end