Class: RecordMicrophoneAction

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

Instance Method Summary collapse

Methods inherited from MacroObject

#to_h

Constructor Details

#initialize(h = {}) ⇒ RecordMicrophoneAction

Returns a new instance of RecordMicrophoneAction.



1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
# File 'lib/ruby-macrodroid.rb', line 1993

def initialize(h={})

  options = {
    path: '',
    record_time_string: 'Until Cancelled',
    recording_format: 0,
    seconds_to_record_for: -1
  }

  super(options.merge h)

end