MetaPicture describes a meta image that is part of an audio or video file.
More...
Inherits Reference.
|
virtual | ~MetaPicture () |
| This object can be destroyed only by the library that has created it. More...
|
|
MetaPicture describes a meta image that is part of an audio or video file.
- See Also
- Library::createMetaPicture
-
Metadata
virtual const uint8_t* data |
( |
| ) |
const |
|
pure virtual |
virtual int32_t dataSize |
( |
| ) |
const |
|
pure virtual |
Returns the number of image bytes.
- Returns
- The number of image bytes that are returned by the MetaPicture::data property.
virtual const char_t* description |
( |
| ) |
const |
|
pure virtual |
Returns a picture description as a free text.
- Returns
- Unicode string. Can be NULL if the picture has no description.
virtual const char* mimeType |
( |
| ) |
const |
|
pure virtual |
virtual bool_t setData |
( |
const void * |
data, |
|
|
int32_t |
dataSize |
|
) |
| |
|
pure virtual |
Sets image data.
- Parameters
-
data | [in] A pointer to the new image data. |
dataSize | [in] The size of the new image in bytes . |
- Returns
- TRUE if the data is successfully set, FALSE if there's an error.
The supplied data is copied internally and is not required to be valid after the method returns.
- See Also
- MetaPicture::data
-
MetaPicture::dataSize
virtual void setDescription |
( |
const char_t * |
description | ) |
|
|
pure virtual |
Sets picture description.
- Parameters
-
description | [in] A pointer to a Unicode string. Can be NULL in which case the picture description is cleared. |
virtual void setMimeType |
( |
const char * |
mimeType | ) |
|
|
pure virtual |
Sets the picture MIME type.
- Parameters
-
mimeType | [in] A pointer to ANSI string specifying the MIME type |
- See Also
- primo::codecs::MimeType