Language

ImageFormat.Private フィールド

定義

注意事項

This constant will be removed in the future version. Use Android.Graphics.ImageFormatType enum directly instead of this field.

Android プライベート不透明イメージ形式。

[Android.Runtime.Register("PRIVATE", ApiSince=23)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Graphics.ImageFormatType enum directly instead of this field.", true)]
public const Android.Graphics.ImageFormatType Private = 34;
[<Android.Runtime.Register("PRIVATE", ApiSince=23)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Graphics.ImageFormatType enum directly instead of this field.", true)>]
val mutable Private : Android.Graphics.ImageFormatType

フィールド値

Value = 34
属性

注釈

Android プライベート不透明イメージ形式。

実際の形式とピクセル データ レイアウトの選択は、デバイス固有およびフレームワークの内部実装に完全に依存し、同じデバイスの場合でもユース ケースによって異なる場合があります。 この形式のバッファーは、 android.media.ImageWriter ImageWriter などのコンポーネントによって生成され、デバイス/フレームワークの個人情報に基づいて android.hardware.camera2.CameraDevice CameraDevice などのコンシューマーによって正しく解釈されます。 ただし、これらのバッファーには、アプリケーションから直接アクセスすることはできません。

この形式の android.media.Image Image が android.media.ImageReader ImageReader または android.media.ImageWriter ImageWriterから取得されると、 android.media.Image#getPlanes() getPlanes() メソッドは空の android.media.Image.Plane Plane 配列を返します。

この形式のバッファーを OpenGL ES テクスチャとして使用する場合、フレームワークはテクスチャのサンプリングが常にアルファ値 1.0 (つまり、バッファーに不透明なピクセル値のみが含まれている) を返すと想定します。

Javaドキュメント。

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

適用対象