Class: DayDreamTrigger

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

Overview

Category: Device Events

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

Returns a new instance of DayDreamTrigger.



1149
1150
1151
1152
1153
1154
1155
1156
1157
# File 'lib/ruby-macrodroid.rb', line 1149

def initialize(h={})

  options = {
    day_dream_enabled: true
  }

  super(options.merge h)

end