StreamMediaRecorder
A media recording interface, designed to simplify using MediaRecorder.
Inheritors
Types
A functional interface used for listening to updated in the duration of the currently active recording.
A functional interface used for listening to error events dispatched by the MediaRecorder internally used by StreamMediaRecorder.
A functional interface used for listening to info events dispatched by the MediaRecorder internally used by StreamMediaRecorder.
A functional interface used for emitting max amplitude readings during recording.
A functional interface used for listening to StreamMediaRecorder state changes.
A functional interface used for notifying after the recording has started successfully.
A functional interface used for notifying after the recording has stopped.
Functions
Deleted the recording to the file provided by recordingFile.
Releases the MediaRecorder used by StreamMediaRecorder.
Sets a StreamMediaRecorder.OnCurrentRecordingDurationChanged listener on this instance of StreamMediaRecorder.
Sets an error listener.
Sets an info listener.
Sets a StreamMediaRecorder.setOnMaxAmplitudeSampledListener listener on this instance of StreamMediaRecorder.
Sets a StreamMediaRecorder.OnMediaRecorderStateChange listener on this instance of StreamMediaRecorder.
Sets a StreamMediaRecorder.OnRecordingStarted listener on this instance of StreamMediaRecorder.
Sets a StreamMediaRecorder.OnRecordingStopped listener on this instance of StreamMediaRecorder.
Prepares the given recordingFile and starts recording. Calling the function again after a recording has already been started will reset the recording process.
Creates a File internally and starts recording. Calling the function again after a recording has already been started will reset the recording process.
Stops recording and saves the recording to the file provided by startAudioRecording.