Class: SetScreenTimeoutAction

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

Overview

Category: Screen

Instance Attribute Summary

Attributes inherited from Action

#constraints

Attributes inherited from MacroObject

#options, #type

Instance Method Summary collapse

Methods inherited from Action

#invoke

Methods inherited from MacroObject

#to_h, #to_s

Constructor Details

#initialize(h = {}) ⇒ SetScreenTimeoutAction

Returns a new instance of SetScreenTimeoutAction.



3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
# File 'lib/ruby-macrodroid.rb', line 3848

def initialize(h={})

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

  super(options.merge h)

end