Class: ScreenOnAction

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

Returns a new instance of ScreenOnAction.



3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
# File 'lib/ruby-macrodroid.rb', line 3766

def initialize(h={})

  options = {
    pie_lock_screen: false,
    screen_off: true,
    screen_off_no_lock: false,
    screen_on_alternative: false
  }

  super(options.merge h)

end