Language

MediaPlayer.ErrorEventArgs(Boolean, MediaPlayer, MediaError, Int32) Constructor

Definition

Stores media-player error details and an initial listener result.

public ErrorEventArgs(bool handled, Android.Media.MediaPlayer? mp, Android.Media.MediaError what, int extra);
new Android.Media.MediaPlayer.ErrorEventArgs : bool * Android.Media.MediaPlayer * Android.Media.MediaError * int -> Android.Media.MediaPlayer.ErrorEventArgs

Parameters

handled
Boolean

The initial result to report from the generated error listener.

mp
MediaPlayer

The media player associated with the error notification.

what
MediaError

The primary media-error classification to record.

extra
Int32

The implementation-dependent detail code for the error.

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to