Class: UsbDeviceConnectionTrigger

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

Overview

Category: Connectivity

Instance Attribute Summary

Attributes inherited from MacroObject

#options, #type

Instance Method Summary collapse

Methods inherited from Trigger

#match?

Methods inherited from MacroObject

#to_h

Constructor Details

#initialize(h = {}) ⇒ UsbDeviceConnectionTrigger

Returns a new instance of UsbDeviceConnectionTrigger.



893
894
895
896
897
898
899
900
901
# File 'lib/ruby-macrodroid.rb', line 893

def initialize(h={})

  options = {
    option: 0
  }

  super(options.merge h)

end