Android Developers | Android.com

API Diff Specification
To Level: | 3
From Level: | 2
Generated | 2009.11.19 19:35

Statistics

## Class android.media.`MediaRecorder`

Added Methods
`void` `setCamera`(`Camera`) |
`void` `setMaxDuration`(`int`) |
`void` `setMaxFileSize`(`long`) |
`void` `setOnErrorListener`(`OnErrorListener`) |
`void` `setOnInfoListener`(`OnInfoListener`) |
`void` `setOutputFile`(`FileDescriptor`) |
`void` `setVideoEncoder`(`int`) |
`void` `setVideoFrameRate`(`int`) |
`void` `setVideoSize`(`int,` int) |
`void` `setVideoSource`(`int`) |

Changed Methods
`void` `prepare`() | Change in exceptions thrown from `java.lang.IllegalStateException` to (`java.io.IOException, java.lang.IllegalStateException`). |

Added Fields
`int` `MEDIA_RECORDER_ERROR_UNKNOWN` |
`int` `MEDIA_RECORDER_INFO_MAX_DURATION_REACHED` |
`int` `MEDIA_RECORDER_INFO_MAX_FILESIZE_REACHED` |
`int` `MEDIA_RECORDER_INFO_UNKNOWN` |