Class: ScreenOnAction

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, #to_s

Constructor Details

#initialize(h = {}) ⇒ ScreenOnAction

Returns a new instance of ScreenOnAction.



3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
# File 'lib/ruby-macrodroid.rb', line 3444

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