MediaMetadataRetriever.GetImageAtIndex Method

Definition

Overloads

GetImageAtIndex(Int32, MediaMetadataRetriever+BitmapParams)

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

GetImageAtIndex(Int32)

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

GetImageAtIndex(Int32, MediaMetadataRetriever+BitmapParams)

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

[Android.Runtime.Register("getImageAtIndex", "(ILandroid/media/MediaMetadataRetriever$BitmapParams;)Landroid/graphics/Bitmap;", "GetGetImageAtIndex_ILandroid_media_MediaMetadataRetriever_BitmapParams_Handler", ApiSince=28)]
public virtual Android.Graphics.Bitmap? GetImageAtIndex (int imageIndex, Android.Media.MediaMetadataRetriever.BitmapParams params);
[<Android.Runtime.Register("getImageAtIndex", "(ILandroid/media/MediaMetadataRetriever$BitmapParams;)Landroid/graphics/Bitmap;", "GetGetImageAtIndex_ILandroid_media_MediaMetadataRetriever_BitmapParams_Handler", ApiSince=28)>]
abstract member GetImageAtIndex : int * Android.Media.MediaMetadataRetriever.BitmapParams -> Android.Graphics.Bitmap
override this.GetImageAtIndex : int * Android.Media.MediaMetadataRetriever.BitmapParams -> Android.Graphics.Bitmap

Parameters

imageIndex
Int32

0-based index of the image.

Returns

the requested still image, or null if the image cannot be retrieved.

Attributes

Remarks

Java documentation for android.media.MediaMetadataRetriever.getImageAtIndex(int).

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

GetImageAtIndex(Int32)

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

[Android.Runtime.Register("getImageAtIndex", "(I)Landroid/graphics/Bitmap;", "GetGetImageAtIndex_IHandler", ApiSince=28)]
public virtual Android.Graphics.Bitmap? GetImageAtIndex (int imageIndex);
[<Android.Runtime.Register("getImageAtIndex", "(I)Landroid/graphics/Bitmap;", "GetGetImageAtIndex_IHandler", ApiSince=28)>]
abstract member GetImageAtIndex : int -> Android.Graphics.Bitmap
override this.GetImageAtIndex : int -> Android.Graphics.Bitmap

Parameters

imageIndex
Int32

0-based index of the image.

Returns

the requested still image, or null if the image cannot be retrieved.

Attributes

Remarks

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

Java documentation for android.media.MediaMetadataRetriever.getImageAtIndex(int).

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