Android Guides | Samples

Android.Media.MediaPlayer.IOnErrorListener

Interface definition of a callback to be invoked when there has been an error during an asynchronous operation (other errors will throw exceptions at method call time).

See Also: MediaPlayer+IOnErrorListener

Syntax

[Android.Runtime.Register("android/media/MediaPlayer$OnErrorListener", "", "Android.Media.MediaPlayer/IOnErrorListenerInvoker")]
public interface MediaPlayer.IOnErrorListener : IJavaObject, IDisposable

Remarks

Interface definition of a callback to be invoked when there has been an error during an asynchronous operation (other errors will throw exceptions at method call time).

[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

The members of Android.Media.MediaPlayer.IOnErrorListener are listed below.

Public Methods

OnError(MediaPlayer, MediaError, Int32) : Boolean
Called to indicate an error.