ID3V2AttachedPictureFrame
Leave feedback
On this page
Inheritance: java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.ID3V2TagFrame
public final class ID3V2AttachedPictureFrame extends ID3V2TagFrame
Represents an APIC frame in an ID3V2Tag .
Learn more
| Constructor | Description |
|---|---|
| ID3V2AttachedPictureFrame(ID3V2EncodingType encoding, String mimeType, ID3V2AttachedPictureType pictureType, String description, byte[] pictureData) | Initializes a new instance of the ID3V2AttachedPictureFrame class. |
| ID3V2AttachedPictureFrame(ID3V2AttachedPictureType pictureType, String description, byte[] pictureData) | Initializes a new instance of the ID3V2AttachedPictureFrame class. |
| ID3V2AttachedPictureFrame(byte[] pictureData) | Initializes a new instance of the ID3V2AttachedPictureFrame class. |
| Method | Description |
|---|---|
| getDescriptionEncoding() | Gets the encoding used to encode the picture description. |
| getMimeType() | Gets the MIME type of the picture. |
| getAttachedPictureType() | Gets the type of the picture. |
| getDescription() | Gets the picture description. |
| getPictureData() | Gets the picture data. |
ID3V2AttachedPictureFrame(ID3V2EncodingType encoding, String mimeType, ID3V2AttachedPictureType pictureType, String description, byte[] pictureData)
public ID3V2AttachedPictureFrame(ID3V2EncodingType encoding, String mimeType, ID3V2AttachedPictureType pictureType, String description, byte[] pictureData)
Initializes a new instance of the ID3V2AttachedPictureFrame class.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| encoding | ID3V2EncodingType | The frame encoding. |
| mimeType | java.lang.String | The MIME-type of the image. |
| pictureType | ID3V2AttachedPictureType | The type of the picture. |
| description | java.lang.String | The description of the picture. |
| pictureData | byte[] | The picture data. |
ID3V2AttachedPictureFrame(ID3V2AttachedPictureType pictureType, String description, byte[] pictureData)
public ID3V2AttachedPictureFrame(ID3V2AttachedPictureType pictureType, String description, byte[] pictureData)
Initializes a new instance of the ID3V2AttachedPictureFrame class.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| pictureType | ID3V2AttachedPictureType | The type of the picture. |
| description | java.lang.String | The description of the picture. |
| pictureData | byte[] | The picture data. |
public ID3V2AttachedPictureFrame(byte[] pictureData)
Initializes a new instance of the ID3V2AttachedPictureFrame class.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| pictureData | byte[] | The picture data. |
public final ID3V2EncodingType getDescriptionEncoding()
Gets the encoding used to encode the picture description.
Returns: ID3V2EncodingType - The encoding used to encode the picture description.
public final String getMimeType()
Gets the MIME type of the picture.
Returns: java.lang.String - The MIME type of the picture.
public final ID3V2AttachedPictureType getAttachedPictureType()
Gets the type of the picture.
Returns: ID3V2AttachedPictureType - The type of the picture.
public final String getDescription()
Gets the picture description. The description has a maximum length of 64 characters, but may be empty.
Returns: java.lang.String - The picture description.
public final byte[] getPictureData()
Gets the picture data.
Returns: byte[] - The picture data.
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.