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, #siguid, #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.



4990
4991
4992
4993
4994
4995
4996
4997
4998
4999
5000
# File 'lib/ruby-macrodroid.rb', line 4990

def initialize(h={})

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

  super(options.merge h)

end