Udostępnij za pośrednictwem


MediaMetadataRetriever.PrimaryImage Property

Definition

This method is similar to #getPrimaryImage(BitmapParams) except that the default for BitmapParams will be used.

public virtual Android.Graphics.Bitmap? PrimaryImage { [Android.Runtime.Register("getPrimaryImage", "()Landroid/graphics/Bitmap;", "GetGetPrimaryImageHandler", ApiSince=28)] get; }
[<get: Android.Runtime.Register("getPrimaryImage", "()Landroid/graphics/Bitmap;", "GetGetPrimaryImageHandler", ApiSince=28)>]
member this.PrimaryImage : Android.Graphics.Bitmap

Property Value

the primary image, or null if it cannot be retrieved.

Attributes

Remarks

This method is similar to #getPrimaryImage(BitmapParams) except that the default for BitmapParams will be used.

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

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