MediaError MediaError Enum


Enumerates values returned by several types and taken as a parameter of the F:Android.Media.MediaPlayer+ErrorEventArgs..ctor, and F:Android.Media.MediaPlayer+IOnErrorListener.OnError members.

public enum MediaError
type MediaError = 


Io Io -1004

File or network related operation errors.

Malformed Malformed -1007

Bitstream is not conforming to the related coding standard or file spec.

NotValidForProgressivePlayback NotValidForProgressivePlayback 200

The video is streamed and its container is not valid for progressive playback i.e the video's index (e.g moov atom) is not at the start of the file.

ServerDied ServerDied 100

Media server died.

TimedOut TimedOut -110

Some operation takes too long to complete, usually more than 3-5 seconds.

Unknown Unknown 1

Unspecified media player error.

Unsupported Unsupported -1010

Bitstream is conforming to the related coding standard or file spec, but the media framework does not support the feature.


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