Compartilhar via


CameraMetadata.ScalerAvailableStreamUseCasesVideoRecord Field

Definition

Caution

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

Recording video clips.

[Android.Runtime.Register("SCALER_AVAILABLE_STREAM_USE_CASES_VIDEO_RECORD", 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 ScalerAvailableStreamUseCasesVideoRecord = 3;
[<Android.Runtime.Register("SCALER_AVAILABLE_STREAM_USE_CASES_VIDEO_RECORD", 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 ScalerAvailableStreamUseCasesVideoRecord : Android.Hardware.Camera2.ScalerAvailableStreamUseCases

Field Value

Value = 3
Attributes

Remarks

Recording video clips.

Optimized for high-quality video capture, including high-quality image stabilization if supported by the device and enabled by the application. As a result, may produce output frames with a substantial lag from real time, to allow for highest-quality stabilization or other processing. As such, such an output is not suitable for drawing to screen directly, and is expected to be persisted to disk or similar for later playback or processing. Only streams that set the VIDEO_RECORD use case are guaranteed to have video stabilization applied when the video stabilization control is set to ON, as opposed to PREVIEW_STABILIZATION.

This use case has the same behavior as the default MediaRecorder and MediaCodec targets.

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

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