Class: ApplicationLaunchedTrigger

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

Instance Method Summary collapse

Methods inherited from MacroObject

#to_h

Constructor Details

#initialize(h = {}) ⇒ ApplicationLaunchedTrigger

Returns a new instance of ApplicationLaunchedTrigger.



494
495
496
497
498
499
500
501
502
503
504
# File 'lib/ruby-macrodroid.rb', line 494

def initialize(h={})

  options = {
    application_name_list: ["Chrome"],
    package_name_list: ["com.android.chrome"],
    launched: true
  }

  super(options.merge h)

end