Class: SetKeyguardAction

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

Overview

Category: Device Settings

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

Returns a new instance of SetKeyguardAction.



2145
2146
2147
2148
2149
2150
2151
2152
2153
# File 'lib/ruby-macrodroid.rb', line 2145

def initialize(h={})

  options = {
    keyguard_on: true
  }

  super(options.merge h)

end