语言

RecommendedStreamConfigurationMap.GetInputSizes(Int32) 方法

定义

获取此输入格式支持的输入大小。

[Android.Runtime.Register("getInputSizes", "(I)Ljava/util/Set;", "", ApiSince=29)]
public System.Collections.Generic.ICollection<Android.Util.Size>? GetInputSizes(int format);
[<Android.Runtime.Register("getInputSizes", "(I)Ljava/util/Set;", "", ApiSince=29)>]
member this.GetInputSizes : int -> System.Collections.Generic.ICollection<Android.Util.Size>

参数

format
Int32

格式 #getInputFormats

返回

一组不可修改的大小,或者 null 格式不可用。

特性

注解

获取此输入格式支持的输入大小。

格式必须来自 #getInputFormats;否则 null 返回。

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

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

适用于