MediaMetadata.MetadataKeyAlbumArtUri Field
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The artwork for the album of the media's original source as a Uri formatted String.
[Android.Runtime.Register("METADATA_KEY_ALBUM_ART_URI")]
public const string MetadataKeyAlbumArtUri;
[<Android.Runtime.Register("METADATA_KEY_ALBUM_ART_URI")>]
val mutable MetadataKeyAlbumArtUri : string
Field Value
Implements
- Attributes
Remarks
The artwork for the album of the media's original source as a Uri formatted String. The artwork can be loaded using a combination of ContentResolver#openInputStream
and BitmapFactory#decodeStream
.
For the best results, Uris should use the content:// style and support ContentResolver#EXTRA_SIZE
for retrieving scaled artwork through ContentResolver#openTypedAssetFileDescriptor(Uri, String, Bundle)
.
Java documentation for android.media.MediaMetadata.METADATA_KEY_ALBUM_ART_URI
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.