PictureFrame
@UnstableApi
class PictureFrame : Metadata.Entry
A picture parsed from a Vorbis Comment or a FLAC picture block.
Summary
Public constructors |
|---|
Public functions |
|
|---|---|
Boolean |
|
java-static PictureFrame! |
fromPictureBlock(pictureBlock: ParsableByteArray!)Parses a |
Int |
hashCode() |
Unit |
populateMediaMetadata(builder: MediaMetadata.Builder!)Updates the |
String! |
toString() |
Public properties |
|
|---|---|
Int |
For indexed-color pictures (e.g. GIF), the number of colors used. |
Int |
The color depth of the picture in bits-per-pixel. |
String! |
A description of the picture. |
Int |
The height of the picture in pixels. |
String! |
The MIME type of the picture. |
ByteArray<Byte>! |
The encoded picture data. |
Int |
The type of the picture. |
Int |
The width of the picture in pixels. |
Inherited functions |
||||
|---|---|---|---|---|
|
Public constructors
Public functions
fromPictureBlock
java-static fun fromPictureBlock(pictureBlock: ParsableByteArray!): PictureFrame!
Parses a METADATA_BLOCK_PICTURE into a PictureFrame instance.
pictureBlock may be read directly from a FLAC file, or decoded from the base64 content of a Vorbis Comment.
| Parameters | |
|---|---|
pictureBlock: ParsableByteArray! |
The data of the |
| Returns | |
|---|---|
PictureFrame! |
A |
populateMediaMetadata
fun populateMediaMetadata(builder: MediaMetadata.Builder!): Unit
Updates the MediaMetadata.Builder with the type-specific values stored in this
Entry.
| Parameters | |
|---|---|
builder: MediaMetadata.Builder! |
The builder to be updated. |