다음을 통해 공유


MediaMetadata.MetadataKeyArtUri Field

Definition

The artwork for the media as a Uri formatted String.

[Android.Runtime.Register("METADATA_KEY_ART_URI")]
public const string MetadataKeyArtUri;
[<Android.Runtime.Register("METADATA_KEY_ART_URI")>]
val mutable MetadataKeyArtUri : string

Field Value

Implements

Attributes

Remarks

The artwork for the media 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_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.

Applies to