Class: DockTrigger

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

Overview

Category: Device Events

Instance Attribute Summary

Attributes inherited from Trigger

#constraints

Attributes inherited from MacroObject

#options, #siguid, #type

Instance Method Summary collapse

Methods inherited from Trigger

#match?

Methods inherited from MacroObject

#to_h, #to_s

Constructor Details

#initialize(h = {}) ⇒ DockTrigger

Returns a new instance of DockTrigger.



1918
1919
1920
1921
1922
1923
1924
1925
1926
# File 'lib/ruby-macrodroid.rb', line 1918

def initialize(h={})

  options = {
    dock_type: 0
  }

  super(options.merge h)

end