class RecordMicrophoneAction

Public Class Methods

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

  options = {
    path: '/storage/emulated/0/MacroDroid/Recordings',
    record_time_string: 'Cancel Recording',
    recording_format: 0,
    seconds_to_record_for: -2
  }

  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 2282
def to_s(colour: false, indent: 0)
  'RecordMicrophoneAction ' + @h.inspect
end
Also aliased as: to_summary
to_summary(colour: false, indent: 0)
Alias for: to_s