语言

MultiResolutionStreamConfigurationMap.GetInputInfo(Int32) 方法

定义

获取包含所请求输入图像的 MultiResolutionStreamInfo 组 format

[Android.Runtime.Register("getInputInfo", "(I)Ljava/util/Collection;", "", ApiSince=31)]
public System.Collections.Generic.ICollection<Android.Hardware.Camera2.Params.MultiResolutionStreamInfo> GetInputInfo(int format);
[<Android.Runtime.Register("getInputInfo", "(I)Ljava/util/Collection;", "", ApiSince=31)>]
member this.GetInputInfo : int -> System.Collections.Generic.ICollection<Android.Hardware.Camera2.Params.MultiResolutionStreamInfo>

参数

format
Int32

来自 ImageFormat 或 PixelFormat

返回

一组受支持的 MultiResolutionStreamInfo。 format如果不支持多分辨率输入,则返回空组。

特性

注解

获取包含所请求输入图像的 MultiResolutionStreamInfo 组 format

应format为受支持的格式(由其中一种格式返回)。#getInputFormats

Java文档android.hardware.camera2.params.MultiResolutionStreamConfigurationMap.getInputInfo(int)。

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

适用于