CameraMetadata.ScalerAvailableStreamUseCasesPreview 字段

定义

注意

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

向用户显示的实时流。

[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

字段值

Value = 1
属性

注解

向用户显示的实时流。

优化了作为取景器的性能和可用性,但不一定适合图像质量。 输出不应保留为保存的图像或视频。

如果 android.control.* 设置为 FAST,则不会停止。 如果它们设置为HIGH_QUALITY,则可能存在停滞。 此用例的行为与默认 SurfaceView 和 SurfaceTexture 目标相同。 此外,此用例可用于应用内图像分析。

适用于 . 的 android.hardware.camera2.CameraMetadata.SCALER_AVAILABLE_STREAM_USE_CASES_PREVIEWJava 文档

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于