Android.Media.MediaPlayer.IOnErrorListener.OnError Method
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

Called to indicate an error.

[Android Documentation]

Requirements

Namespace: Android.Media
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1