Called to indicate an error.
Syntax
[Android.Runtime.Register("onError", "(Landroid/media/MediaPlayer;II)Z", "GetOnError_Landroid_media_MediaPlayer_IIHandler:Android.Media.MediaPlayer/IOnErrorListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public
bool OnError (
MediaPlayer mp, [Android.Runtime.GeneratedEnum]
MediaError what,
int extra)
Parameters
- mp
- the MediaPlayer the error pertains to
- what
- the type of error that has occurred:
- extra
- an extra code, specific to the error. Typically
implementation dependent.
Returns
Documentation for this section has not yet been entered.
Remarks
Requirements
Namespace: Android.Media
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1