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, #siguid, #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.



3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
# File 'lib/ruby-macrodroid.rb', line 3984

def initialize(h={})

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

  super(options.merge h)

end