Android.Media.MediaRecorder: Method Members

The methods of Android.Media.MediaRecorder are listed below. For a list of all members, see the MediaRecorder Members list.

See Also: Inherited members from Java.Lang.Object

Public Methods

Prepare()
Prepares the recorder to begin capturing and encoding data.
Release()
Releases resources associated with this MediaRecorder object.
Reset()
Restarts the MediaRecorder to its idle state.
SetAudioChannels(int)
Sets the number of audio channels for recording.
SetAudioEncoder(AudioEncoder)
Sets the audio encoder to be used for recording.
SetAudioEncodingBitRate(int)
Sets the audio encoding bit rate for recording.
SetAudioSamplingRate(int)
Sets the audio sampling rate for recording.
SetAudioSource(AudioSource)
Sets the audio source to be used for recording.
SetAuxiliaryOutputFile(Java.IO.FileDescriptor)
Documentation for this section has not yet been entered.
SetAuxiliaryOutputFile(string)
Documentation for this section has not yet been entered.
SetCamera(Android.Hardware.Camera)
Sets a Android.Hardware.Camera to use for recording.
SetCaptureRate(double)
Set video frame capture rate.
SetLocation(float, float)
Set and store the geodata (latitude and longitude) in the output file.
SetMaxDuration(int)
Sets the maximum duration (in ms) of the recording session.
SetMaxFileSize(long)
Sets the maximum filesize (in bytes) of the recording session.
SetOnErrorListener(MediaRecorder.IOnErrorListener)
Register a callback to be invoked when an error occurs while recording.
SetOnInfoListener(MediaRecorder.IOnInfoListener)
Register a callback to be invoked when an informational event occurs while recording.
SetOrientationHint(int)
Sets the orientation hint for output video playback.
SetOutputFile(Java.IO.FileDescriptor)
Pass in the file descriptor of the file to be written.
SetOutputFile(string)
Sets the path of the output file to be produced.
SetOutputFormat(OutputFormat)
Sets the format of the output file produced during recording.
SetPreviewDisplay(Android.Views.Surface)
Sets a Surface to show a preview of recorded media (video).
SetProfile(CamcorderProfile)
Uses the settings from a CamcorderProfile object for recording.
SetVideoEncoder(VideoEncoder)
Sets the video encoder to be used for recording.
SetVideoEncodingBitRate(int)
Sets the video encoding bit rate for recording.
SetVideoFrameRate(int)
Sets the frame rate of the video to be captured.
SetVideoSize(int, int)
Sets the width and height of the video to be captured.
SetVideoSource(VideoSource)
Sets the video source to be used for recording.
Start()
Begins capturing and encoding data to the file specified with setOutputFile().
Stop()
Stops recording.