语言

RecommendedStreamConfigurationMap.UsecasePreview 字段

定义

注意

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

用于用例预览的推荐流配置映射必须包含一部分高效、非停止的配置,这些配置必须同时包含和android.graphics.ImageFormat#PRIVATEandroid.graphics.ImageFormat#YUV_420_888输出格式。

[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

字段值

Value = 0
特性

注解

用于用例预览的推荐流配置映射必须包含一部分高效、非停止的配置,这些配置必须同时包含和android.graphics.ImageFormat#PRIVATEandroid.graphics.ImageFormat#YUV_420_888输出格式。 即使可用于相机设备,高速或输入配置也会缺席。

Java文档android.hardware.camera2.params.RecommendedStreamConfigurationMap.USECASE_PREVIEW。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于