다음을 통해 공유


MediaMetadataRetriever.GetEmbeddedPicture Method

Definition

Call this method after setDataSource().

[Android.Runtime.Register("getEmbeddedPicture", "()[B", "GetGetEmbeddedPictureHandler")]
public virtual byte[]? GetEmbeddedPicture ();
[<Android.Runtime.Register("getEmbeddedPicture", "()[B", "GetGetEmbeddedPictureHandler")>]
abstract member GetEmbeddedPicture : unit -> byte[]
override this.GetEmbeddedPicture : unit -> byte[]

Returns

Byte[]

null if no such graphic is found.

Attributes

Remarks

Call this method after setDataSource(). This method finds the optional graphic or album/cover art associated associated with the data source. If there are more than one pictures, (any) one of them is returned.

Java documentation for android.media.MediaMetadataRetriever.getEmbeddedPicture().

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