Class: RecordMicrophoneAction

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

Overview

Category: Media

Instance Attribute Summary

Attributes inherited from MacroObject

#options, #type

Instance Method Summary collapse

Methods inherited from Action

#invoke

Methods inherited from MacroObject

#to_h, #to_s

Constructor Details

#initialize(h = {}) ⇒ RecordMicrophoneAction



3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
# File 'lib/ruby-macrodroid.rb', line 3062

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