qnx.media.MediaPlayerErrorCodes

MediaPlayerErrorCodes

Constants


Packageqnx.media
Classpublic class MediaPlayerErrorCodes
InheritanceMediaPlayerErrorCodes Inheritance Object

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

Class information:
BlackBerry 10 Version:   10.0.0

See also

MediaPlayer



Public Constants

 ConstantDefined By
  MEDIA_ERROR_DRM_CORRUPTED_DATA_STORE : int = 16
[static] Indicates the DRM data store is corrupt.
MediaPlayerErrorCodes
  MEDIA_ERROR_DRM_OPL_ANALOG_AUDIO : int = 22
[static] Indicates that there is a DRM output protection mismatch on an audio ANALOG output (HEADPHONE, SPEAKER OUT...).
MediaPlayerErrorCodes
  MEDIA_ERROR_DRM_OPL_ANALOG_VIDEO : int = 21
[static] Indicates that there is a DRM output protection mismatch on a video ANALOG output (S-VIDEO, COMPOSITE, RGB, RGBHW, YPbPr...).
MediaPlayerErrorCodes
  MEDIA_ERROR_DRM_OPL_BLUETOOTH : int = 25
[static] Indicates that there is a DRM output protection mismatch on a BLUETOOTH output.
MediaPlayerErrorCodes
  MEDIA_ERROR_DRM_OPL_DISPLAYPORT : int = 19
[static] Indicates that there is a DRM output protection mismatch on a DISPLAYPORT output.
MediaPlayerErrorCodes
  MEDIA_ERROR_DRM_OPL_DVI : int = 20
[static] Indicates that there is a DRM output protection mismatch on a DVI output.
MediaPlayerErrorCodes
  MEDIA_ERROR_DRM_OPL_HDMI : int = 18
[static] Indicates that there is a DRM output protection mismatch on an HDMI output.
MediaPlayerErrorCodes
  MEDIA_ERROR_DRM_OPL_RESERVED_LAST : int = 30.0
[static]
MediaPlayerErrorCodes
  MEDIA_ERROR_DRM_OPL_SPDIF : int = 24
[static] Indicates that there is a DRM output protection mismatch on an S/PDIF output.
MediaPlayerErrorCodes
  MEDIA_ERROR_DRM_OPL_TOSLINK : int = 23
[static] Indicates that there is a DRM output protection mismatch on a TOSLINK output.
MediaPlayerErrorCodes
  MEDIA_ERROR_DRM_OPL_WIRELESSHD : int = 26
[static] Indicates that there is a DRM output protection mismatch on a WIRELESSHD output.
MediaPlayerErrorCodes
  MEDIA_ERROR_DRM_OUTPUT_PROTECTION : int = 17
[static] Indicates that there is a DRM output protection mismatch on an unspecified output.
MediaPlayerErrorCodes
  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_DRM_NO_RIGHTS : int = 15
[static] Indicates that the user has no rights to play the file.
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_DRM_CORRUPTED_DATA_STORE


public static const MEDIA_ERROR_DRM_CORRUPTED_DATA_STORE:int = 16

Indicates the DRM data store is corrupt.

MEDIA_ERROR_DRM_OPL_ANALOG_AUDIO


public static const MEDIA_ERROR_DRM_OPL_ANALOG_AUDIO:int = 22

Indicates that there is a DRM output protection mismatch on an audio ANALOG output (HEADPHONE, SPEAKER OUT...).

MEDIA_ERROR_DRM_OPL_ANALOG_VIDEO


public static const MEDIA_ERROR_DRM_OPL_ANALOG_VIDEO:int = 21

Indicates that there is a DRM output protection mismatch on a video ANALOG output (S-VIDEO, COMPOSITE, RGB, RGBHW, YPbPr...).

MEDIA_ERROR_DRM_OPL_BLUETOOTH


public static const MEDIA_ERROR_DRM_OPL_BLUETOOTH:int = 25

Indicates that there is a DRM output protection mismatch on a BLUETOOTH output.

MEDIA_ERROR_DRM_OPL_DISPLAYPORT


public static const MEDIA_ERROR_DRM_OPL_DISPLAYPORT:int = 19

Indicates that there is a DRM output protection mismatch on a DISPLAYPORT output.

MEDIA_ERROR_DRM_OPL_DVI


public static const MEDIA_ERROR_DRM_OPL_DVI:int = 20

Indicates that there is a DRM output protection mismatch on a DVI output.

MEDIA_ERROR_DRM_OPL_HDMI


public static const MEDIA_ERROR_DRM_OPL_HDMI:int = 18

Indicates that there is a DRM output protection mismatch on an HDMI output.

MEDIA_ERROR_DRM_OPL_RESERVED_LAST


public static const MEDIA_ERROR_DRM_OPL_RESERVED_LAST:int = 30.0

MEDIA_ERROR_DRM_OPL_SPDIF


public static const MEDIA_ERROR_DRM_OPL_SPDIF:int = 24

Indicates that there is a DRM output protection mismatch on an S/PDIF output.

MEDIA_ERROR_DRM_OPL_TOSLINK


public static const MEDIA_ERROR_DRM_OPL_TOSLINK:int = 23

Indicates that there is a DRM output protection mismatch on a TOSLINK output.

MEDIA_ERROR_DRM_OPL_WIRELESSHD


public static const MEDIA_ERROR_DRM_OPL_WIRELESSHD:int = 26

Indicates that there is a DRM output protection mismatch on a WIRELESSHD output.

MEDIA_ERROR_DRM_OUTPUT_PROTECTION


public static const MEDIA_ERROR_DRM_OUTPUT_PROTECTION:int = 17

Indicates that there is a DRM output protection mismatch on an unspecified output.

MEDIA_ERROR_INVALID_PARAMETER


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_STATE


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_CORRUPTED


public static const MEDIA_ERROR_MEDIA_CORRUPTED:int = 11

Indicates that the media source is corrupted.

MEDIA_ERROR_MEDIA_DRM_NO_RIGHTS


public static const MEDIA_ERROR_MEDIA_DRM_NO_RIGHTS:int = 15

Indicates that the user has no rights to play the file.

MEDIA_ERROR_MEDIA_PROTECTED


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_UNAVAILABLE


public static const MEDIA_ERROR_MEDIA_UNAVAILABLE:int = 10

Indicates that the media player cannot open the media.

MEDIA_ERROR_NO_MEMORY


public static const MEDIA_ERROR_NO_MEMORY:int = 13

Indicates that the media player is out of memory.

MEDIA_ERROR_NONE


public static const MEDIA_ERROR_NONE:int = 0

Indicates that EOF has been reached.

MEDIA_ERROR_OUTPUT_UNAVAILABLE


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_READ


public static const MEDIA_ERROR_READ:int = 8

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

MEDIA_ERROR_RESOURCE_UNAVAILABLE


public static const MEDIA_ERROR_RESOURCE_UNAVAILABLE:int = 14

Indicates that a resource is unavailable.

MEDIA_ERROR_UNKNOWN


public static const MEDIA_ERROR_UNKNOWN:int = 1

Indicates that an unknown error has occurred.

MEDIA_ERROR_UNSUPPORTED_MEDIA_TYPE


public static const MEDIA_ERROR_UNSUPPORTED_MEDIA_TYPE:int = 5

Indicates that an unsupported data type was encountered.

MEDIA_ERROR_UNSUPPORTED_OPERATION


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_VALUE


public static const MEDIA_ERROR_UNSUPPORTED_VALUE:int = 4

Indicates that the input or output type was not recognized.

MEDIA_ERROR_WRITE


public static const MEDIA_ERROR_WRITE:int = 9

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





comments powered by Disqus