android百度贴吧接口,看不懂android api怎么办?

博客介绍了Android API level 28中setPhysicalCameraId函数的用法。该函数用于设置输出配置的物理相机ID,可让相机应用从单个物理相机请求流。还说明了有效ID的查询方式、空值含义、调用时机及相关限制等。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

该楼层疑似违规已被系统折叠 隐藏此楼查看此楼

比如下面这个函数,怎么用?

setPhysicalCameraIdAdded in API level 28public void setPhysicalCameraId (String physicalCameraId)

Set the id of the physical camera for this OutputConfiguration

In the case one logical camera is made up of multiple physical cameras, it could be desirable for the camera application to request streams from individual physical cameras. This call achieves it by mapping the OutputConfiguration to the physical camera id.

The valid physical camera ids can be queried by CameraCharacteristics.getPhysicalCameraIds().

Passing in a null physicalCameraId means that the OutputConfiguration is for a logical stream.

This function must be called before CameraDevice#createCaptureSessionByOutputConfigurations or CameraDevice#createReprocessableCaptureSessionByConfigurations. Calling this function after CameraDevice#createCaptureSessionByOutputConfigurations or CameraDevice#createReprocessableCaptureSessionByConfigurations has no effect.

The surface belonging to a physical camera OutputConfiguration must not be used as input or output of a reprocessing request.

Parameters

physicalCameraId String: This value may be null.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值