TizenRT Public API  v2.0 M2
MediaRecorderObserverInterface Class Referenceabstract

Public Member Functions

virtual void onRecordStarted (MediaRecorder &mediaRecorder)=0
 informs the user of the recording has begun. More...
 
virtual void onRecordPaused (MediaRecorder &mediaRecorder)=0
 informs the user of the recording has paused. More...
 
virtual void onRecordFinished (MediaRecorder &mediaRecorder)=0
 informs the user of the recording has finished. More...
 
virtual void onRecordStartError (MediaRecorder &mediaRecorder, recorder_error_t errCode)=0
 informs the user of the error state of recorder start operation More...
 
virtual void onRecordPauseError (MediaRecorder &mediaRecorder, recorder_error_t errCode)=0
 informs the user of the error state of recorder pause operation More...
 
virtual void onRecordStopError (MediaRecorder &mediaRecorder, recorder_error_t errCode)=0
 informs the user of the error state of recorder stop operation More...
 
virtual void onRecordBufferDataReached (MediaRecorder &mediaRecorder, std::shared_ptr< unsigned char > data, size_t size)
 informs the user that data in the output-buffer reach the threshold, and it's possible to fetch data now. More...
 
virtual void onRecordBufferOverrun (MediaRecorder &mediaRecorder)
 informs the user the recorder buffer state: overrun. More...
 
virtual void onRecordBufferUnderrun (MediaRecorder &mediaRecorder)
 informs the user the recorder buffer state: underrun. More...
 

Detailed Description

Definition at line 50 of file MediaRecorderObserverInterface.h.

Member Function Documentation

virtual void onRecordBufferDataReached ( MediaRecorder mediaRecorder,
std::shared_ptr< unsigned char >  data,
size_t  size 
)
inlinevirtual

informs the user that data in the output-buffer reach the threshold, and it's possible to fetch data now.

Remarks
user need to override this method when the recorder working with a BufferOutputDataSource.

#include <media/MediaRecorderObserverInterface.h>

Since
TizenRT v2.0

Definition at line 97 of file MediaRecorderObserverInterface.h.

virtual void onRecordBufferOverrun ( MediaRecorder mediaRecorder)
inlinevirtual

informs the user the recorder buffer state: overrun.

#include <media/MediaRecorderObserverInterface.h>

Since
TizenRT v2.0

Definition at line 103 of file MediaRecorderObserverInterface.h.

virtual void onRecordBufferUnderrun ( MediaRecorder mediaRecorder)
inlinevirtual

informs the user the recorder buffer state: underrun.

#include <media/MediaRecorderObserverInterface.h>

Since
TizenRT v2.0

Definition at line 109 of file MediaRecorderObserverInterface.h.

virtual void onRecordFinished ( MediaRecorder mediaRecorder)
pure virtual

informs the user of the recording has finished.

#include <media/MediaRecorderObserverInterface.h>

Since
TizenRT v2.0
virtual void onRecordPaused ( MediaRecorder mediaRecorder)
pure virtual

informs the user of the recording has paused.

#include <media/MediaRecorderObserverInterface.h>

Since
TizenRT v2.0
virtual void onRecordPauseError ( MediaRecorder mediaRecorder,
recorder_error_t  errCode 
)
pure virtual

informs the user of the error state of recorder pause operation

#include <media/MediaRecorderObserverInterface.h>

Since
TizenRT v2.0
virtual void onRecordStarted ( MediaRecorder mediaRecorder)
pure virtual

informs the user of the recording has begun.

#include <media/MediaRecorderObserverInterface.h>

Since
TizenRT v2.0
virtual void onRecordStartError ( MediaRecorder mediaRecorder,
recorder_error_t  errCode 
)
pure virtual

informs the user of the error state of recorder start operation

#include <media/MediaRecorderObserverInterface.h>

Since
TizenRT v2.0
virtual void onRecordStopError ( MediaRecorder mediaRecorder,
recorder_error_t  errCode 
)
pure virtual

informs the user of the error state of recorder stop operation

#include <media/MediaRecorderObserverInterface.h>

Since
TizenRT v2.0

The documentation for this class was generated from the following file: