# Print output for @column tags ?>
Developers

- Design
- Develop
- Distribute

Developer Console

## Most visited

## Recently visited

## Results for

# MediaRecorder.OnErrorListener

`public static interface MediaRecorder.OnErrorListener`
``

android.media.MediaRecorder.OnErrorListener

Interface definition for a callback to be invoked when an error occurs while recording.

## Summary

### Public methods
`abstract void` | `onError(MediaRecorder mr, int what, int extra)` Called when an error occurs while recording.

## Public methods

### onError

    public abstract void onError (MediaRecorder mr,
                    int what,
                    int extra)

Called when an error occurs while recording.

Parameters
`mr` | `MediaRecorder`: the MediaRecorder that encountered the error
`what` | `int`: the type of error that has occurred: `MediaRecorder.MEDIA_RECORDER_ERROR_UNKNOWN` `MediaRecorder.MEDIA_ERROR_SERVER_DIED`
`extra` | `int`: an extra code, specific to the error type

Full name *
Email address *
Company / developer name
One of your Play Store app URLs *
Which best describes your business:*
Apps
Games
Apps & Games
*
*