Aracılığıyla paylaş


MediaError Enum

Definition

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 = 
Inheritance
MediaError

Fields

Name Value Description
Unsupported -1010

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

Malformed -1007

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

Io -1004

File or network related operation errors.

TimedOut -110

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

Unknown 1

Unspecified media player error.

ServerDied 100

Media server died.

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.

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