Class: HeadphonesConnectionConstraint

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

Overview

Category: Media

Instance Attribute Summary

Attributes inherited from MacroObject

#options, #type

Instance Method Summary collapse

Methods inherited from Constraint

#match?

Methods inherited from MacroObject

#to_h

Constructor Details

#initialize(h = {}) ⇒ HeadphonesConnectionConstraint

Returns a new instance of HeadphonesConnectionConstraint.



3701
3702
3703
3704
3705
3706
3707
3708
3709
# File 'lib/ruby-macrodroid.rb', line 3701

def initialize(h={})

  options = {
    connected: true
  }

  super(options.merge h)

end