Class: SetScreenTimeoutAction

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

Overview

Category: Screen

Instance Attribute Summary

Attributes inherited from MacroObject

#options, #type

Instance Method Summary collapse

Methods inherited from Action

#invoke

Methods inherited from MacroObject

#to_h

Constructor Details

#initialize(h = {}) ⇒ SetScreenTimeoutAction

Returns a new instance of SetScreenTimeoutAction.



2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
# File 'lib/ruby-macrodroid.rb', line 2881

def initialize(h={})

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

  super(options.merge h)

end