camera.reset
将所有选项恢复为默认值。不应做出任何假设
关于摄像头在开机状态下的状态的信息,
并假设摄像头每次都使用默认选项开机。
此命令是在 API 级别 2 中添加的。
参数
结果
错误
- invalidParameterName:输入参数名称无法识别。
命令 I/O |
命令输入 |
none |
命令输出 |
none |
命令输出(错误) |
{ "error": { "code": "invalidParameterName", "message": "parameter XYZ is unrecognized." } } |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-08-21。
[null,null,["最后更新时间 (UTC):2024-08-21。"],[[["Resets all camera options to their original default settings."],["Camera state on power-up is unpredictable and not guaranteed to have default options."],["Introduced in API level 2, this command neither accepts input parameters nor provides output results in its request/response body."],["An \"invalidParameterName\" error is returned if an unrecognized parameter is included in the request."]]],["This command resets all camera options to their default values, ensuring no prior state assumptions are made. Introduced in API level 2, it requires no parameters in the request and returns no result in the response. The only potential error is \"invalidParameterName,\" triggered if an unrecognized parameter is provided, even though there should be none. Command input and output is empty, with the error output providing details.\n"]]