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, #to_s

Constructor Details

#initialize(h = {}) ⇒ HeadphonesConnectionConstraint

Returns a new instance of HeadphonesConnectionConstraint.



4445
4446
4447
4448
4449
4450
4451
4452
4453
# File 'lib/ruby-macrodroid.rb', line 4445

def initialize(h={})

  options = {
    connected: true
  }

  super(options.merge h)

end