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.



3942
3943
3944
3945
3946
3947
3948
3949
3950
# File 'lib/ruby-macrodroid.rb', line 3942

def initialize(h={})

  options = {
    connected: true
  }

  super(options.merge h)

end