| Package | qnx.media |
| Class | public class MediaPlayerErrorCodes |
| Inheritance | MediaPlayerErrorCodes Object |
MediaPlayerErrorCodes class defines error messages that are used by the MediaPlayer class.
See also
| Constant | Defined 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 | ||
| MEDIA_ERROR_INVALID_PARAMETER | Constant |
public static const MEDIA_ERROR_INVALID_PARAMETER:int = 2Indicates 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_STATE | Constant |
public static const MEDIA_ERROR_INVALID_STATE:int = 3Indicates 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_CORRUPTED | Constant |
public static const MEDIA_ERROR_MEDIA_CORRUPTED:int = 11Indicates that the media source is corrupted.
| MEDIA_ERROR_MEDIA_PROTECTED | Constant |
public static const MEDIA_ERROR_MEDIA_PROTECTED:int = 6Indicates that a protected media format was encountered. The media player is not allowed to play this media type.
| MEDIA_ERROR_MEDIA_UNAVAILABLE | Constant |
public static const MEDIA_ERROR_MEDIA_UNAVAILABLE:int = 10Indicates that the media player cannot open the media.
| MEDIA_ERROR_NO_MEMORY | Constant |
public static const MEDIA_ERROR_NO_MEMORY:int = 13Indicates that the media player is out of memory.
| MEDIA_ERROR_NONE | Constant |
public static const MEDIA_ERROR_NONE:int = 0Indicates that EOF has been reached.
| MEDIA_ERROR_OUTPUT_UNAVAILABLE | Constant |
public static const MEDIA_ERROR_OUTPUT_UNAVAILABLE:int = 12Indicates that the media sink cannot be opened (possibly because no plugin recognizes it).
| MEDIA_ERROR_READ | Constant |
public static const MEDIA_ERROR_READ:int = 8Indicates that an I/O error occurred at the source.
| MEDIA_ERROR_RESOURCE_UNAVAILABLE | Constant |
public static const MEDIA_ERROR_RESOURCE_UNAVAILABLE:int = 14Indicates that a resource is unavailable.
| MEDIA_ERROR_UNKNOWN | Constant |
public static const MEDIA_ERROR_UNKNOWN:int = 1Indicates that an unknown error has occurred.
| MEDIA_ERROR_UNSUPPORTED_MEDIA_TYPE | Constant |
public static const MEDIA_ERROR_UNSUPPORTED_MEDIA_TYPE:int = 5Indicates that an unsupported data type was encountered.
| MEDIA_ERROR_UNSUPPORTED_OPERATION | Constant |
public static const MEDIA_ERROR_UNSUPPORTED_OPERATION:int = 7Indicates 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_VALUE | Constant |
public static const MEDIA_ERROR_UNSUPPORTED_VALUE:int = 4Indicates that the input or output type was not recognized.
| MEDIA_ERROR_WRITE | Constant |
public static const MEDIA_ERROR_WRITE:int = 9Indicates that an I/O error occurred during a write operation.