@Implements(android.media.MediaRecorder.class) public class ShadowMediaRecorder extends Object
Modifier and Type | Field | Description |
---|---|---|
static int |
STATE_DATA_SOURCE_CONFIGURED |
|
static int |
STATE_ERROR |
|
static int |
STATE_INITIAL |
|
static int |
STATE_INITIALIZED |
|
static int |
STATE_PREPARED |
|
static int |
STATE_RECORDING |
|
static int |
STATE_RELEASED |
Constructor | Description |
---|---|
ShadowMediaRecorder() |
Modifier and Type | Method | Description |
---|---|---|
protected void |
__constructor__() |
|
protected static void |
__staticInitializer__() |
|
int |
getAudioChannels() |
|
int |
getAudioEncoder() |
|
int |
getAudioEncodingBitRate() |
|
int |
getAudioSamplingRate() |
|
int |
getAudioSource() |
|
Camera |
getCamera() |
|
MediaRecorder.OnErrorListener |
getErrorListener() |
|
MediaRecorder.OnInfoListener |
getInfoListener() |
|
int |
getMaxDuration() |
|
long |
getMaxFileSize() |
|
int |
getOutputFormat() |
|
String |
getOutputPath() |
|
Surface |
getPreviewDisplay() |
|
int |
getState() |
|
int |
getVideoEncoder() |
|
int |
getVideoEncodingBitRate() |
|
int |
getVideoFrameRate() |
|
int |
getVideoHeight() |
|
int |
getVideoSource() |
|
int |
getVideoWidth() |
|
protected void |
prepare() |
|
protected void |
release() |
|
protected void |
reset() |
|
protected void |
setAudioChannels(int numChannels) |
|
protected void |
setAudioEncoder(int audio_encoder) |
|
protected void |
setAudioEncodingBitRate(int bitRate) |
|
protected void |
setAudioSamplingRate(int samplingRate) |
|
protected void |
setAudioSource(int audio_source) |
|
protected void |
setCamera(Camera c) |
|
protected void |
setMaxDuration(int max_duration_ms) |
|
protected void |
setMaxFileSize(long max_filesize_bytes) |
|
protected void |
setOnErrorListener(MediaRecorder.OnErrorListener l) |
|
protected void |
setOnInfoListener(MediaRecorder.OnInfoListener listener) |
|
protected void |
setOutputFile(String path) |
|
protected void |
setOutputFormat(int output_format) |
|
protected void |
setPreviewDisplay(Surface sv) |
|
protected void |
setVideoEncoder(int video_encoder) |
|
protected void |
setVideoEncodingBitRate(int bitRate) |
|
protected void |
setVideoFrameRate(int rate) |
|
protected void |
setVideoSize(int width,
int height) |
|
protected void |
setVideoSource(int video_source) |
|
protected void |
start() |
|
protected void |
stop() |
public static final int STATE_ERROR
public static final int STATE_INITIAL
public static final int STATE_INITIALIZED
public static final int STATE_DATA_SOURCE_CONFIGURED
public static final int STATE_PREPARED
public static final int STATE_RECORDING
public static final int STATE_RELEASED
@Implementation protected static void __staticInitializer__()
@Implementation protected void __constructor__()
@Implementation protected void setAudioChannels(int numChannels)
@Implementation protected void setAudioEncoder(int audio_encoder)
@Implementation protected void setAudioEncodingBitRate(int bitRate)
@Implementation protected void setAudioSamplingRate(int samplingRate)
@Implementation protected void setAudioSource(int audio_source)
@Implementation protected void setCamera(Camera c)
@Implementation protected void setMaxDuration(int max_duration_ms)
@Implementation protected void setMaxFileSize(long max_filesize_bytes)
@Implementation protected void setOnErrorListener(MediaRecorder.OnErrorListener l)
@Implementation protected void setOnInfoListener(MediaRecorder.OnInfoListener listener)
@Implementation protected void setOutputFile(String path)
@Implementation protected void setOutputFormat(int output_format)
@Implementation protected void setPreviewDisplay(Surface sv)
@Implementation protected void setVideoEncoder(int video_encoder)
@Implementation protected void setVideoEncodingBitRate(int bitRate)
@Implementation protected void setVideoFrameRate(int rate)
@Implementation protected void setVideoSize(int width, int height)
@Implementation protected void setVideoSource(int video_source)
@Implementation protected void prepare()
@Implementation protected void start()
@Implementation protected void stop()
@Implementation protected void reset()
@Implementation protected void release()
public Camera getCamera()
public int getAudioChannels()
public int getAudioEncoder()
public int getAudioEncodingBitRate()
public int getAudioSamplingRate()
public int getAudioSource()
public int getMaxDuration()
public long getMaxFileSize()
public String getOutputPath()
public int getOutputFormat()
public int getVideoEncoder()
public int getVideoEncodingBitRate()
public int getVideoFrameRate()
public int getVideoWidth()
public int getVideoHeight()
public int getVideoSource()
public Surface getPreviewDisplay()
public MediaRecorder.OnErrorListener getErrorListener()
public MediaRecorder.OnInfoListener getInfoListener()
public int getState()