Dela via


RecommendedStreamConfigurationMap.UsecasePreview Field

Definition

Caution

This constant will be removed in the future version. Use Android.Hardware.Camera2.Params.UsecaseMode enum directly instead of this field.

The recommended stream configuration map for use case preview must contain a subset of efficient, non-stalling configurations that must include both android.graphics.ImageFormat#PRIVATE and android.graphics.ImageFormat#YUV_420_888 output formats.

[Android.Runtime.Register("USECASE_PREVIEW", ApiSince=29)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Hardware.Camera2.Params.UsecaseMode enum directly instead of this field.", true)]
public const Android.Hardware.Camera2.Params.UsecaseMode UsecasePreview = 0;
[<Android.Runtime.Register("USECASE_PREVIEW", ApiSince=29)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Hardware.Camera2.Params.UsecaseMode enum directly instead of this field.", true)>]
val mutable UsecasePreview : Android.Hardware.Camera2.Params.UsecaseMode

Field Value

Value = 0
Attributes

Remarks

The recommended stream configuration map for use case preview must contain a subset of efficient, non-stalling configurations that must include both android.graphics.ImageFormat#PRIVATE and android.graphics.ImageFormat#YUV_420_888 output formats. Even if available for the camera device, high speed or input configurations will be absent.

Java documentation for android.hardware.camera2.params.RecommendedStreamConfigurationMap.USECASE_PREVIEW.

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