Class: SpeakerPhoneConstraint

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

Returns a new instance of SpeakerPhoneConstraint.



4782
4783
4784
4785
4786
4787
4788
4789
4790
# File 'lib/ruby-macrodroid.rb', line 4782

def initialize(h={})

  options = {
    enabled: true
  }

  super(options.merge h)

end