语言

RecommendedStreamConfigurationMap.GetValidOutputFormatsForInput 方法

定义

获取重新处理输入格式的图像 format 输出格式。

[Android.Runtime.Register("getValidOutputFormatsForInput", "(I)Ljava/util/Set;", "", ApiSince=29)]
public System.Collections.Generic.ICollection<Java.Lang.Integer>? GetValidOutputFormatsForInput(Android.Graphics.ImageFormatType inputFormat);
[<Android.Runtime.Register("getValidOutputFormatsForInput", "(I)Ljava/util/Set;", "", ApiSince=29)>]
member this.GetValidOutputFormatsForInput : Android.Graphics.ImageFormatType -> System.Collections.Generic.ICollection<Java.Lang.Integer>

参数

inputFormat
ImageFormatType

请求其兼容输出格式的重新处理输入的图像格式。

返回

一组不可修改的整数格式

特性

注解

获取重新处理输入格式的图像 format 输出格式。

有关详细信息, StreamConfigurationMap#getValidOutputFormatsForInput请参阅 。

Java文档android.hardware.camera2.params.RecommendedStreamConfigurationMap.getValidOutputFormatsForInput(int)。

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

适用于