Class: NFCStateConstraint

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

Overview

Category: Device State

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



3580
3581
3582
3583
3584
3585
3586
3587
3588
# File 'lib/ruby-macrodroid.rb', line 3580

def initialize(h={})

  options = {
    enabled: true
  }

  super(options.merge h)

end