|
AVBlocks for C++
3.4
Audio and Video Software Development Kit
|
MetaPicture describes a meta image that is part of an audio or video file. More...
#include <av.h>
Public Member Functions | |
| virtual MetaPicture * | clone () const =0 |
| Creates a deep copy of this object. | |
| 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 const char_t * | description () const =0 |
| Returns a picture description as a free text. | |
| virtual bool_t | immutable () const =0 |
| Returns whether the object is immutable. | |
| virtual const char * | mimeType () const =0 |
| Returns the picture MIME type. | |
| virtual MetaPictureType::Enum | pictureType () const =0 |
| Returns the meta picture type (front cover, back cover, artist, etc.). | |
| virtual bool_t | setData (const void *data, int32_t dataSize)=0 |
| Sets image data. | |
| virtual bool_t | setDescription (const char_t *description)=0 |
| Sets picture description. | |
| virtual bool_t | setMimeType (const char *mimeType)=0 |
| Sets the picture MIME type. | |
| virtual bool_t | setPictureType (MetaPictureType::Enum picType)=0 |
| Sets the picture type (front cover, back cover, artist, etc.). | |
| Public Member Functions inherited from Reference | |
| virtual int32_t | release () const =0 |
| Releases the instance. | |
| virtual int32_t | retain () const =0 |
| Retains the instance. | |
| virtual int32_t | retainCount () const =0 |
| Returns the current reference count. | |
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.
|
protectedvirtual |
This object can be destroyed only by the library that has created it.
|
pure virtual |
Creates a deep copy of this object.
|
pure virtual |
Returns the start of the image data.
The image is a jpeg, png or another image type.
Referenced by setData().
|
pure virtual |
Returns the number of image bytes.
Referenced by setData().
|
pure virtual |
Returns a picture description as a free text.
Referenced by setDescription().
|
pure virtual |
Returns whether the object is immutable.
An immmutable object cannot be modified and all modifying methods fail to produce a result.
|
pure virtual |
Returns the picture MIME type.
Referenced by setMimeType().
|
pure virtual |
Returns the meta picture type (front cover, back cover, artist, etc.).
|
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.
References data(), and dataSize().
|
pure virtual |
Sets picture description.
| description | [in] A pointer to a Unicode string. Can be NULL in which case the picture description is cleared. |
References description().
|
pure virtual |
Sets the picture MIME type.
| mimeType | [in] A pointer to ANSI string specifying the MIME type |
References mimeType().
|
pure virtual |
Sets the picture type (front cover, back cover, artist, etc.).
| [in] | picType | A picture type constant defined in MetaPictureType::Enum. |