Class: FaceUpDownConstraint

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

Overview

Category: Sensors

Instance Attribute Summary

Attributes inherited from MacroObject

#options, #siguid, #type

Instance Method Summary collapse

Methods inherited from Constraint

#match?

Methods inherited from MacroObject

#to_h, #to_s

Constructor Details

#initialize(h = {}) ⇒ FaceUpDownConstraint

Returns a new instance of FaceUpDownConstraint.



5008
5009
5010
5011
5012
5013
5014
5015
5016
5017
# File 'lib/ruby-macrodroid.rb', line 5008

def initialize(h={})

  options = {
    option: -1,
    selected_options: [true, false, true, false, false, false]
  }

  super(options.merge h)

end