MediaError

Since: BlackBerry 10.0.0

#include <bb/multimedia/MediaError>

To link against this class, add the following line to your .pro file: LIBS += -lbbmultimedia

The MediaError class provides definitions for a number of media error codes that can occur.

The media error codes are one-to-one mappings to the mm-renderer error codes (mm/renderer/types.h).


Overview

Public Types

Type

Represents possible media errors that can occur.

Since:

BlackBerry 10.0.0

None 0

No error has occurred.

Internal 1

An unexpected internal error.

Since:

BlackBerry 10.0.0

InvalidParameter 2

An invalid parameter.

Since:

BlackBerry 10.0.0

InvalidState 3

An illegal operation given the context state.

Since:

BlackBerry 10.0.0

UnsupportedValue 4

An unrecognized input or output type or an out-of-range speed setting.

Since:

BlackBerry 10.0.0

UnsupportedMediaType 5

A data format not recognized by any plugin.

Since:

BlackBerry 10.0.0

DrmProtected 6

The file is DRM-protected.

Since:

BlackBerry 10.0.0

UnsupportedOperation 7

An illegal operation.

Since:

BlackBerry 10.0.0

Read 8

An I/O error at the source.

Since:

BlackBerry 10.0.0

Write 9

An I/O error at the sink.

Since:

BlackBerry 10.0.0

SourceUnavailable 10

Cannot open the source.

Since:

BlackBerry 10.0.0

ResourceCorrupted 11

Found corrupt data on the DVD.

Since:

BlackBerry 10.0.0

OutputUnavailable 12

Cannot open the sink (possibly because no plugin recognizes it).

Since:

BlackBerry 10.0.0

OutOfMemory 13

Insufficient memory to perform the requested operation.

Since:

BlackBerry 10.0.0

ResourceUnavailable 14

A required resource such as an encoder or an output feed is presently unavailable.

Since:

BlackBerry 10.0.0

DrmNoRights 15

The client has insufficient digital permissions to play the file.

Since:

BlackBerry 10.0.0

DrmCorruptedDataStore 16

The DRM data store is corrupted.

Since:

BlackBerry 10.0.0

DrmOutputRestricted 17

A DRM output protection mismatch on an unspecified output.

Since:

BlackBerry 10.0.0

DrmHdmiOutputRestricted 18

A DRM output protection mismatch on an HDMI output.

Since:

BlackBerry 10.0.0

DrmDisplayPortOutputRestricted 19

A DRM output protection mismatch on a DISPLAYPORT output.

Since:

BlackBerry 10.0.0

DrmDviOutputRestricted 20

A DRM output protection mismatch on a DVI output.

Since:

BlackBerry 10.0.0

DrmAnalogVideoOutputRestricted 21

A DRM output protection mismatch on a video ANALOG output.

Since:

BlackBerry 10.0.0

DrmAnalogAudioOutputRestricted 22

A DRM output protection mismatch on an audio ANALOG output.

Since:

BlackBerry 10.0.0

DrmToslinkOutputRestricted 23

A DRM output protection mismatch on a TOSLINK output.

Since:

BlackBerry 10.0.0

DrmSpdifOutputRestricted 24

A DRM output protection mismatch on an S/PDIF output.

Since:

BlackBerry 10.0.0

DrmBluetoothOutputRestricted 25

A DRM output protection mismatch on a BLUETOOTH output.

Since:

BlackBerry 10.0.0

DrmWirelessHdOutputRestricted 26

A DRM output protection mismatch on a WIRELESSHD output.

Since:

BlackBerry 10.0.0

DrmWifiDirectOutputRestricted 27

A DRM output protection mismatch on a WIFIDIRECT output.

Since:

BlackBerry 10.3.0

DrmExpiredLicense 31

A license for the DRM file was found but has expired, either because the play count has been depleted or the end time has passed.

Since:

BlackBerry 10.2.0

Permission 32

A playback permission error (e.g., user prohibition, region mismatch).

Since:

BlackBerry 10.2.0

CommandFailed 33

Playback interrupted by a failed API call.

This error code is used for an event but never returned as the error code from an API call.

Since:

BlackBerry 10.3.0

Last modified: 2014-09-30



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus