Class: SetKeyguardAction

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

Overview

Category: Device Settings

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

Returns a new instance of SetKeyguardAction.



3066
3067
3068
3069
3070
3071
3072
3073
3074
# File 'lib/ruby-macrodroid.rb', line 3066

def initialize(h={})

  options = {
    keyguard_on: true
  }

  super(options.merge h)

end