Called when an error occurs while recording.
Syntax
[Android.Runtime.Register("onError", "(Landroid/media/MediaRecorder;II)V", "GetOnError_Landroid_media_MediaRecorder_IIHandler:Android.Media.MediaRecorder/IOnErrorListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public
void OnError (
MediaRecorder mr, [Android.Runtime.GeneratedEnum]
MediaRecorderError what,
int extra)
Parameters
- mr
- the MediaRecorder that encountered the error
- what
- the type of error that has occurred:
- extra
- an extra code, specific to the error type
Remarks
Requirements
Namespace: Android.Media
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 3