class ClearNotificationsAction

Category: Notifications

Public Class Methods

new(h={}) click to toggle source
Calls superclass method NotificationsAction::new
# File lib/ruby-macrodroid/actions.rb, line 2412
def initialize(h={})

  options = {
    package_name_list: [],
    match_text: '',
    application_name_list: [],                  
    clear_persistent: false,
    excludes: false,
    match_option: 0,
    age_in_seconds: 0,
    option: 0,
    enable_regex: false
  }

  super(options.merge h)

end

Public Instance Methods

to_s(colour: false, indent: 0) click to toggle source
# File lib/ruby-macrodroid/actions.rb, line 2430
def to_s(colour: false, indent: 0)
  'ClearNotificationsAction ' + @h.inspect
end
Also aliased as: to_summary
to_summary(colour: false, indent: 0)
Alias for: to_s