MediaRecorderInfo Enum

Definition

Enumerates values returned by several types and taken as a parameter of the F:Android.Media.MediaRecorder+IOnInfoListener.OnInfo, and F:Android.Media.MediaRecorder+InfoEventArgs..ctor members.

public enum MediaRecorderInfo
type MediaRecorderInfo = 
Inheritance
MediaRecorderInfo

Fields

Name Value Description
Unknown 1

Unspecified media recorder error.

MaxDurationReached 800

A maximum duration had been setup and has now been reached.

MaxFilesizeReached 801

A maximum filesize had been setup and has now been reached.

MaxFilesizeApproaching 802

A maximum filesize had been setup and current recorded file size has reached 90% of the limit. This is sent once per file upon reaching/passing the 90% limit. To continue the recording, application should use setNextOutputFile(File) to set the next output file. Otherwise, recording will stop when reaching maximum file size.

Android reference for android.media.MediaRecorder.MEDIA_RECORDER_INFO_MAX_FILESIZE_APPROACHING.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

NextOutputFileStarted 803

A maximum filesize had been reached and MediaRecorder has switched output to a new file set by application setNextOutputFile(File). For best practice, application should use this event to keep track of whether the file previously set has been used or not.

Android reference for android.media.MediaRecorder.MEDIA_RECORDER_INFO_NEXT_OUTPUT_FILE_STARTED.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to