public static interface MediaRecorder.OnErrorListener
Modifier and Type | Method and Description |
---|---|
void |
onError(MediaRecorder mr,
int what,
int extra)
Called when an error occurs while recording.
|
void onError(MediaRecorder mr, int what, int extra)
mr
- the MediaRecorder that encountered the errorwhat
- the type of error that has occurred:
extra
- an extra code, specific to the error type