MediaMetadataRetriever.GetFramesAtIndex メソッド

定義

オーバーロード

GetFramesAtIndex(Int32, Int32)

このメソッドは と #getFramesAtIndex(int, int, BitmapParams) 似ていますが、 の既定値 BitmapParams が使用されます。

GetFramesAtIndex(Int32, Int32, MediaMetadataRetriever+BitmapParams)

このメソッドは と #getFramesAtIndex(int, int, BitmapParams) 似ていますが、 の既定値 BitmapParams が使用されます。

GetFramesAtIndex(Int32, Int32)

このメソッドは と #getFramesAtIndex(int, int, BitmapParams) 似ていますが、 の既定値 BitmapParams が使用されます。

[Android.Runtime.Register("getFramesAtIndex", "(II)Ljava/util/List;", "GetGetFramesAtIndex_IIHandler", ApiSince=28)]
public virtual System.Collections.Generic.IList<Android.Graphics.Bitmap> GetFramesAtIndex (int frameIndex, int numFrames);
[<Android.Runtime.Register("getFramesAtIndex", "(II)Ljava/util/List;", "GetGetFramesAtIndex_IIHandler", ApiSince=28)>]
abstract member GetFramesAtIndex : int * int -> System.Collections.Generic.IList<Android.Graphics.Bitmap>
override this.GetFramesAtIndex : int * int -> System.Collections.Generic.IList<Android.Graphics.Bitmap>

パラメーター

frameIndex
Int32

取得する最初のビデオ フレームの 0 から始まるインデックス。 フレーム インデックスは、有効なフレームのインデックスである必要があります。 取得に使用できるフレームの合計数は、キーを #METADATA_KEY_VIDEO_FRAME_COUNT 使用して照会できます。

numFrames
Int32

連続するビデオ フレームの数を取得します。 正の数を指定する必要があります。 ストリームには、frameIndex 以降の numFrames フレームが少なくとも含まれている必要があります。

戻り値

要求されたビデオ フレームを含むビットマップの一覧。 取得に失敗した場合、返される配列に含まれるフレーム数が要求よりも少ない可能性があります。

属性

注釈

このメソッドは と #getFramesAtIndex(int, int, BitmapParams) 似ていますが、 の既定値 BitmapParams が使用されます。

android.media.MediaMetadataRetriever.getFramesAtIndex(int, int)Java ドキュメント。

このページの一部は、によって作成および共有された作業に基づく変更であり、に記載されている条件に従って使用されます。

適用対象

GetFramesAtIndex(Int32, Int32, MediaMetadataRetriever+BitmapParams)

このメソッドは と #getFramesAtIndex(int, int, BitmapParams) 似ていますが、 の既定値 BitmapParams が使用されます。

[Android.Runtime.Register("getFramesAtIndex", "(IILandroid/media/MediaMetadataRetriever$BitmapParams;)Ljava/util/List;", "GetGetFramesAtIndex_IILandroid_media_MediaMetadataRetriever_BitmapParams_Handler", ApiSince=28)]
public virtual System.Collections.Generic.IList<Android.Graphics.Bitmap> GetFramesAtIndex (int frameIndex, int numFrames, Android.Media.MediaMetadataRetriever.BitmapParams params);
[<Android.Runtime.Register("getFramesAtIndex", "(IILandroid/media/MediaMetadataRetriever$BitmapParams;)Ljava/util/List;", "GetGetFramesAtIndex_IILandroid_media_MediaMetadataRetriever_BitmapParams_Handler", ApiSince=28)>]
abstract member GetFramesAtIndex : int * int * Android.Media.MediaMetadataRetriever.BitmapParams -> System.Collections.Generic.IList<Android.Graphics.Bitmap>
override this.GetFramesAtIndex : int * int * Android.Media.MediaMetadataRetriever.BitmapParams -> System.Collections.Generic.IList<Android.Graphics.Bitmap>

パラメーター

frameIndex
Int32

取得する最初のビデオ フレームの 0 から始まるインデックス。 フレーム インデックスは、有効なフレームのインデックスである必要があります。 取得に使用できるフレームの合計数は、キーを #METADATA_KEY_VIDEO_FRAME_COUNT 使用して照会できます。

numFrames
Int32

連続するビデオ フレームの数を取得します。 正の数を指定する必要があります。 ストリームには、frameIndex 以降の numFrames フレームが少なくとも含まれている必要があります。

戻り値

要求されたビデオ フレームを含むビットマップの一覧。 取得に失敗した場合、返される配列に含まれるフレーム数が要求よりも少ない可能性があります。

属性

注釈

android.media.MediaMetadataRetriever.getFramesAtIndex(int, int)Java ドキュメント。

このページの一部は、によって作成および共有された作業に基づく変更であり、に記載されている条件に従って使用されます。

適用対象