camera.stopCapture
동영상 캡처 또는 서술형 인터벌 이미지 캡처를 중지합니다.
옵션의 captureMode
해당하는 startCapture
가
인터벌 이미지 캡처용이며 종료 조건이 설정됩니다.
(예: 10개의 이미지를 캡처한 후 종료됨) stopCapture
필요하지 않지만
있습니다. 이 명령어는 API 수준 2에 추가되었습니다.
매개변수
- 이 명령어의 요청 본문에는 매개변수가 없습니다.
결과
- fileUrls: 동영상 파일 또는 동영상 파일을 가리키는 절대 URL의 목록입니다.
서술형 간격 캡처를 위한 이미지 파일입니다.
오류
- disableCommand: 명령어가 현재 사용 중지되어 있습니다. 대상:
예를 들어 캡처가 이미 중지된 상태입니다.
- invalidParameterName: 입력 매개변수 이름은 다음과 같습니다.
인식할 수 없습니다.
명령어 I/O |
명령어 입력 |
none |
명령어 결과 |
{ "results": { "fileUrls":[ "url1", "url2", "url3", ... "urln" ] } } |
명령어 출력 (오류) |
{ "error": { "code": "disabledCommand", "message": "Command is currently disabled." } } |
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2024-08-21(UTC)
[null,null,["최종 업데이트: 2024-08-21(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."]]],["The `stopCapture` command halts video or open-ended interval image capture, introduced in API level 2. It requires no parameters. Successful execution returns a list of file URLs (`fileUrls`) for the captured video or images. While unnecessary for interval captures with set termination conditions, it enables early termination. Errors include `disabledCommand` (if the capture is already stopped) and `invalidParameterName`. The command input is empty, and the output provides either `fileUrls` or an error message.\n"]]