camera.reset
Sets all options back to their default values. No assumption should be made
about the state of the camera when it is powered on, for example, it shouldn't
be assumed that a camera is powered on each time with default options.
This command was added in API level 2.
Parameters
- This command has no parameter in request body.
Results
- This command returns no result in response body.
Errors
- invalidParameterName: The input parameter name is unrecognized.
Command I/O |
Command Input |
none |
Command Output |
none |
Command Output (Error) |
{
"error": {
"code": "invalidParameterName",
"message": "parameter XYZ is unrecognized."
}
} |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-09 UTC.
[null,null,["Last updated 2024-10-09 UTC."],[[["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"]]