AVBlocks for C++
1.9
Audio and Video Software Development Kit
|
MetaPicture describes a meta image that is part of an audio or video file. More...
Inherits Reference.
Public Member Functions | |
virtual const char * | mimeType () const =0 |
Returns the picture MIME type. | |
virtual void | setMimeType (const char *mimeType)=0 |
Sets the picture MIME type. | |
virtual MetaPictureType::Enum | pictureType () const =0 |
Returns the meta picture type (front cover, back cover, artist, etc.) | |
virtual void | setPictureType (MetaPictureType::Enum picType)=0 |
Sets the picture type (front cover, back cover, artist, etc.) | |
virtual const char_t * | description () const =0 |
Returns a picture description as a free text. | |
virtual void | setDescription (const char_t *description)=0 |
Sets picture description. | |
virtual const uint8_t * | data () const =0 |
Returns the start of the image data. | |
virtual int32_t | dataSize () const =0 |
Returns the number of image bytes. | |
virtual bool_t | setData (const void *data, int32_t dataSize)=0 |
Sets image data. | |
Protected Member Functions | |
virtual | ~MetaPicture () |
This object can be destroyed only by the library that has created it. |
MetaPicture describes a meta image that is part of an audio or video file.
virtual ~MetaPicture | ( | ) | [protected, virtual] |
This object can be destroyed only by the library that has created it.
virtual const uint8_t* data | ( | ) | const [pure virtual] |
Returns the start of the image data.
The image is a jpeg, png or another image type.
virtual int32_t dataSize | ( | ) | const [pure virtual] |
Returns the number of image bytes.
virtual const char_t* description | ( | ) | const [pure virtual] |
Returns a picture description as a free text.
virtual const char* mimeType | ( | ) | const [pure virtual] |
Returns the picture MIME type.
virtual MetaPictureType::Enum pictureType | ( | ) | const [pure virtual] |
Returns the meta picture type (front cover, back cover, artist, etc.)
virtual bool_t setData | ( | const void * | data, |
int32_t | dataSize | ||
) | [pure virtual] |
Sets image data.
data | [in] A pointer to the new image data. |
dataSize | [in] The size of the new image in bytes . |
The supplied data is copied internally and is not required to be valid after the method returns.
virtual void setDescription | ( | const char_t * | description | ) | [pure virtual] |
Sets picture description.
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.
mimeType | [in] A pointer to ANSI string specifying the MIME type |
virtual void setPictureType | ( | MetaPictureType::Enum | picType | ) | [pure virtual] |
Sets the picture type (front cover, back cover, artist, etc.)
[in] | picType | A picture type constant defined in MetaPictureType::Enum. |