CameraMetadata.ScalerAvailableStreamUseCasesPreview Field

Definition

Caution

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

Live stream shown to the user.

[Android.Runtime.Register("SCALER_AVAILABLE_STREAM_USE_CASES_PREVIEW", ApiSince=33)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Hardware.Camera2.ScalerAvailableStreamUseCases enum directly instead of this field.", true)]
public const Android.Hardware.Camera2.ScalerAvailableStreamUseCases ScalerAvailableStreamUseCasesPreview = 1;
[<Android.Runtime.Register("SCALER_AVAILABLE_STREAM_USE_CASES_PREVIEW", ApiSince=33)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Hardware.Camera2.ScalerAvailableStreamUseCases enum directly instead of this field.", true)>]
val mutable ScalerAvailableStreamUseCasesPreview : Android.Hardware.Camera2.ScalerAvailableStreamUseCases

Field Value

Value = 1
Attributes

Remarks

Live stream shown to the user.

Optimized for performance and usability as a viewfinder, but not necessarily for image quality. The output is not meant to be persisted as saved images or video.

No stall if android.control.* are set to FAST. There may be stall if they are set to HIGH_QUALITY. This use case has the same behavior as the default SurfaceView and SurfaceTexture targets. Additionally, this use case can be used for in-app image analysis.

Java documentation for android.hardware.camera2.CameraMetadata.SCALER_AVAILABLE_STREAM_USE_CASES_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