Android Guides | Samples

Android.Media.MediaError Enumeration

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

Syntax

public enum MediaError

Remarks

Members

Member NameDescription
IoFile or network related operation errors.
MalformedBitstream is not conforming to the related coding standard or file spec.
NotValidForProgressivePlaybackThe 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.
ServerDiedMedia server died. In this case, the application must release the MediaPlayer object and instantiate a new one.
TimedOutSome operation takes too long to complete, usually more than 3-5 seconds.
UnknownUnspecified media player error.
UnsupportedBitstream is conforming to the related coding standard or file spec, but the media framework does not support the feature.

Requirements

Namespace: Android.Media
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0

The members of Android.Media.MediaError are listed below.

See Also: Enum

Public Fields

IoMediaError. File or network related operation errors.
MalformedMediaError. Bitstream is not conforming to the related coding standard or file spec.
NotValidForProgressivePlaybackMediaError. 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.
ServerDiedMediaError. Media server died. In this case, the application must release the MediaPlayer object and instantiate a new one.
TimedOutMediaError. Some operation takes too long to complete, usually more than 3-5 seconds.
UnknownMediaError. Unspecified media player error.
UnsupportedMediaError. Bitstream is conforming to the related coding standard or file spec, but the media framework does not support the feature.