MediaError
#include <bb/multimedia/MediaError>
To link against this class, add the following line to your .pro file: LIBS += -lbbmultimedia
The media error class provides definitions for a number of media error codes that can occur.
The media error codes between are one to one mappings to the mm-renderer error codes (mm/renderer/types.h).
BlackBerry 10.0.0
Public Types Index
enum TypeNone = 0, Internal = 1, InvalidParameter = 2, InvalidState = 3, UnsupportedValue = 4, UnsupportedMediaType = 5, DrmProtected = 6, UnsupportedOperation = 7, Read = 8, Write = 9, SourceUnavailable = 10, ResourceCorrupted = 11, OutputUnavailable = 12, OutOfMemory = 13, ResourceUnavailable = 14, DrmNoRights = 15, DrmCorruptedDataStore = 16, DrmOutputRestricted = 17, DrmHdmiOutputRestricted = 18, DrmDisplayPortOutputRestricted = 19, DrmDviOutputRestricted = 20, DrmAnalogVideoOutputRestricted = 21, DrmAnalogAudioOutputRestricted = 22, DrmToslinkOutputRestricted = 23, DrmSpdifOutputRestricted = 24, DrmBluetoothOutputRestricted = 25, DrmWirelessHdOutputRestricted = 26 |
Public Types
Represents possible media errors that can occur.
BlackBerry 10.0.0
- None = 0
No error has occurred.
- Internal = 1
An unexpected internal error.
- InvalidParameter = 2
An invalid parameter.
- InvalidState = 3
An illegal operation given the context state.
- UnsupportedValue = 4
An unrecognized input or output type or an out-of-range speed setting.
- UnsupportedMediaType = 5
A data format not recognized by any plugin.
- DrmProtected = 6
The file is DRM-protected.
- UnsupportedOperation = 7
An illegal operation.
- Read = 8
An I/O error at the source.
- Write = 9
An I/O error at the sink.
Cannot open the source.
- ResourceCorrupted = 11
Found corrupt data on the DVD.
Cannot open the sink (possibly because no plugin recognizes it).
- OutOfMemory = 13
Insufficient memory to perform the requested operation.
A required resource such as an encoder or an output feed is presently unavailable.
- DrmNoRights = 15
The client has insufficient digital permissions to play the file.
- DrmCorruptedDataStore = 16
The DRM data store is corrupted.
- DrmOutputRestricted = 17
A DRM output protection mismatch on an unspecified output.
- DrmHdmiOutputRestricted = 18
A DRM output protection mismatch on an HDMI output.
- DrmDisplayPortOutputRestricted = 19
A DRM output protection mismatch on a DISPLAYPORT output.
- DrmDviOutputRestricted = 20
A DRM output protection mismatch on a DVI output.
- DrmAnalogVideoOutputRestricted = 21
A DRM output protection mismatch on a video ANALOG output.
- DrmAnalogAudioOutputRestricted = 22
A DRM output protection mismatch on an audio ANALOG output.
- DrmToslinkOutputRestricted = 23
A DRM output protection mismatch on a TOSLINK output.
- DrmSpdifOutputRestricted = 24
A DRM output protection mismatch on an S/PDIF output.
- DrmBluetoothOutputRestricted = 25
A DRM output protection mismatch on a BLUETOOTH output.
- DrmWirelessHdOutputRestricted = 26
A DRM output protection mismatch on a WIRELESSHD output.