camera.stopCapture
Stay organized with collections
Save and categorize content based on your preferences.
Stops video capture or open-ended interval image capture, determined by
captureMode
in Options.
If the corresponding startCapture
is for interval image capture and the termination condition is set
(e.g. it terminates after capturing 10 images), then stopCapture
is not needed, however, it should still be treated as a valid command for early
termination. This command was added in API level 2.
Parameters
- This command has no parameter in request body.
Results
- fileUrls: A list of absolute URLs, pointing to video files or
image files for open-ended interval capture.
Errors
- disabledCommand: Command is currently disabled; for
example, the capture has already been stopped.
- invalidParameterName: The input parameter name is
unrecognized.
Command I/O |
Command Input |
none |
Command Output |
{
"results": {
"fileUrls":[
"url1",
"url2",
"url3",
...
"urln"
]
}
} |
Command Output (Error) |
{
"error": {
"code": "disabledCommand",
"message": "Command is currently disabled."
}
} |
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-09 UTC."],[[["Stops video or interval image capture, configurable via `captureMode`."],["Early termination is possible even if a termination condition is set."],["Returns URLs to captured video or image files upon successful execution."],["API level 2 or higher is required to use this command."],["Potential errors include disabled command and invalid parameter name."]]],[]]