Class: VolumeLevelConstraint

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

Overview

Category: Screen and Speaker

Instance Attribute Summary

Attributes inherited from MacroObject

#options, #type

Instance Method Summary collapse

Methods inherited from Constraint

#match?

Methods inherited from MacroObject

#to_h, #to_s

Constructor Details

#initialize(h = {}) ⇒ VolumeLevelConstraint

Returns a new instance of VolumeLevelConstraint.



4650
4651
4652
4653
4654
4655
4656
4657
4658
4659
4660
# File 'lib/ruby-macrodroid.rb', line 4650

def initialize(h={})

  options = {
    comparison: 0,
    stream_index_array: [false, true, false, false, false, false, false],
    volume: 42
  }

  super(options.merge h)

end