语言

StreamConfigurationMap.GetInputFormats 方法

定义

获取此流配置中的图像 format 输入格式。

[Android.Runtime.Register("getInputFormats", "()[I", "", ApiSince=23)]
public int[]? GetInputFormats();
[<Android.Runtime.Register("getInputFormats", "()[I", "", ApiSince=23)>]
member this.GetInputFormats : unit -> int[]

返回

Int32[]

整数格式数组

特性

注解

获取此流配置中的图像 format 输入格式。

此函数返回的所有图像格式都将在任一 ImageFormat 或中 PixelFormat 定义(并且不存在冲突的可能性)。

Java文档android.hardware.camera2.params.StreamConfigurationMap.getInputFormats()。

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

适用于