共用方式為


CameraMetadata.ScalerAvailableStreamUseCasesPreviewVideoStill Field

Definition

Caution

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

One single stream used for combined purposes of preview, video, and still capture.

[Android.Runtime.Register("SCALER_AVAILABLE_STREAM_USE_CASES_PREVIEW_VIDEO_STILL", 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 ScalerAvailableStreamUseCasesPreviewVideoStill = 4;
[<Android.Runtime.Register("SCALER_AVAILABLE_STREAM_USE_CASES_PREVIEW_VIDEO_STILL", 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 ScalerAvailableStreamUseCasesPreviewVideoStill : Android.Hardware.Camera2.ScalerAvailableStreamUseCases

Field Value

Value = 4
Attributes

Remarks

One single stream used for combined purposes of preview, video, and still capture.

For such multi-purpose streams, the camera device aims to make the best tradeoff between the individual use cases. For example, the STILL_CAPTURE use case by itself may have stalls for achieving best image quality. But if combined with PREVIEW and VIDEO_RECORD, the camera device needs to trade off the additional image processing for speed so that preview and video recording aren't slowed down.

Similarly, VIDEO_RECORD may produce frames with a substantial lag, but PREVIEW_VIDEO_STILL must have minimal output delay. This means that to enable video stabilization with this use case, the device must support and the app must select the PREVIEW_STABILIZATION mode for video stabilization.

Java documentation for android.hardware.camera2.CameraMetadata.SCALER_AVAILABLE_STREAM_USE_CASES_PREVIEW_VIDEO_STILL.

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