Packageqnx.media
Classpublic class MediaPlayerErrorCodes
InheritanceMediaPlayerErrorCodes Inheritance Object

The MediaPlayerErrorCodes class defines error messages that are used by the MediaPlayer class.

See also

MediaPlayer


Public Constants
 ConstantDefined By
  MEDIA_ERROR_INVALID_PARAMETER : int = 2
[static] Indicates that an invalid output ID was encountered.
MediaPlayerErrorCodes
  MEDIA_ERROR_INVALID_STATE : int = 3
[static] Indicates that an attempt was made to play the media or to seek to a location while no input was attached, or an attempt was made to communicate with a context that no longer exists.
MediaPlayerErrorCodes
  MEDIA_ERROR_MEDIA_CORRUPTED : int = 11
[static] Indicates that the media source is corrupted.
MediaPlayerErrorCodes
  MEDIA_ERROR_MEDIA_PROTECTED : int = 6
[static] Indicates that a protected media format was encountered.
MediaPlayerErrorCodes
  MEDIA_ERROR_MEDIA_UNAVAILABLE : int = 10
[static] Indicates that the media player cannot open the media.
MediaPlayerErrorCodes
  MEDIA_ERROR_NO_MEMORY : int = 13
[static] Indicates that the media player is out of memory.
MediaPlayerErrorCodes
  MEDIA_ERROR_NONE : int = 0
[static] Indicates that EOF has been reached.
MediaPlayerErrorCodes
  MEDIA_ERROR_OUTPUT_UNAVAILABLE : int = 12
[static] Indicates that the media sink cannot be opened (possibly because no plugin recognizes it).
MediaPlayerErrorCodes
  MEDIA_ERROR_READ : int = 8
[static] Indicates that an I/O error occurred at the source.
MediaPlayerErrorCodes
  MEDIA_ERROR_RESOURCE_UNAVAILABLE : int = 14
[static] Indicates that a resource is unavailable.
MediaPlayerErrorCodes
  MEDIA_ERROR_UNKNOWN : int = 1
[static] Indicates that an unknown error has occurred.
MediaPlayerErrorCodes
  MEDIA_ERROR_UNSUPPORTED_MEDIA_TYPE : int = 5
[static] Indicates that an unsupported data type was encountered.
MediaPlayerErrorCodes
  MEDIA_ERROR_UNSUPPORTED_OPERATION : int = 7
[static] Indicates that an unsupported operation occurred.
MediaPlayerErrorCodes
  MEDIA_ERROR_UNSUPPORTED_VALUE : int = 4
[static] Indicates that the input or output type was not recognized.
MediaPlayerErrorCodes
  MEDIA_ERROR_WRITE : int = 9
[static] Indicates that an I/O error occurred during a write operation.
MediaPlayerErrorCodes
Constant Detail
MEDIA_ERROR_INVALID_PARAMETERConstant
public static const MEDIA_ERROR_INVALID_PARAMETER:int = 2

Indicates that an invalid output ID was encountered. This typically means that a seek String was not formatted correctly or was out of range.

MEDIA_ERROR_INVALID_STATEConstant 
public static const MEDIA_ERROR_INVALID_STATE:int = 3

Indicates that an attempt was made to play the media or to seek to a location while no input was attached, or an attempt was made to communicate with a context that no longer exists.

MEDIA_ERROR_MEDIA_CORRUPTEDConstant 
public static const MEDIA_ERROR_MEDIA_CORRUPTED:int = 11

Indicates that the media source is corrupted.

MEDIA_ERROR_MEDIA_PROTECTEDConstant 
public static const MEDIA_ERROR_MEDIA_PROTECTED:int = 6

Indicates that a protected media format was encountered. The media player is not allowed to play this media type.

MEDIA_ERROR_MEDIA_UNAVAILABLEConstant 
public static const MEDIA_ERROR_MEDIA_UNAVAILABLE:int = 10

Indicates that the media player cannot open the media.

MEDIA_ERROR_NO_MEMORYConstant 
public static const MEDIA_ERROR_NO_MEMORY:int = 13

Indicates that the media player is out of memory.

MEDIA_ERROR_NONEConstant 
public static const MEDIA_ERROR_NONE:int = 0

Indicates that EOF has been reached.

MEDIA_ERROR_OUTPUT_UNAVAILABLEConstant 
public static const MEDIA_ERROR_OUTPUT_UNAVAILABLE:int = 12

Indicates that the media sink cannot be opened (possibly because no plugin recognizes it).

MEDIA_ERROR_READConstant 
public static const MEDIA_ERROR_READ:int = 8

Indicates that an I/O error occurred at the source.

MEDIA_ERROR_RESOURCE_UNAVAILABLEConstant 
public static const MEDIA_ERROR_RESOURCE_UNAVAILABLE:int = 14

Indicates that a resource is unavailable.

MEDIA_ERROR_UNKNOWNConstant 
public static const MEDIA_ERROR_UNKNOWN:int = 1

Indicates that an unknown error has occurred.

MEDIA_ERROR_UNSUPPORTED_MEDIA_TYPEConstant 
public static const MEDIA_ERROR_UNSUPPORTED_MEDIA_TYPE:int = 5

Indicates that an unsupported data type was encountered.

MEDIA_ERROR_UNSUPPORTED_OPERATIONConstant 
public static const MEDIA_ERROR_UNSUPPORTED_OPERATION:int = 7

Indicates that an unsupported operation occurred. This typically means that the user tried to seek or set the speed of a media type that does not support these operations, or that the media player tried to attach to or detach from an output that was not supported.

MEDIA_ERROR_UNSUPPORTED_VALUEConstant 
public static const MEDIA_ERROR_UNSUPPORTED_VALUE:int = 4

Indicates that the input or output type was not recognized.

MEDIA_ERROR_WRITEConstant 
public static const MEDIA_ERROR_WRITE:int = 9

Indicates that an I/O error occurred during a write operation.