Class: DayDreamTrigger

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

Instance Method Summary collapse

Methods inherited from Trigger

#match?

Methods inherited from MacroObject

#to_h, #to_s

Constructor Details

#initialize(h = {}) ⇒ DayDreamTrigger

Returns a new instance of DayDreamTrigger.



1818
1819
1820
1821
1822
1823
1824
1825
1826
# File 'lib/ruby-macrodroid.rb', line 1818

def initialize(h={})

  options = {
    day_dream_enabled: true
  }

  super(options.merge h)

end