camera.stopCapture
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
動画キャプチャまたは無制限のインターバル画像キャプチャを停止します。これらは、
captureMode
(オプション)
対応する startCapture
が
インターバル画像キャプチャ用で、終了条件が設定されます。
(たとえば、10 枚の画像をキャプチャした後に終了する)、stopCapture
初期段階では有効なコマンドとして扱ってください。
解除されます。このコマンドは API レベル 2 で追加されました。
パラメータ
- このコマンドのリクエスト本文にパラメータはありません。
結果
- fileUrls: 動画ファイルまたは URL を指す絶対 URL のリスト
無制限のインターバル キャプチャに使用する画像ファイル。
エラー
- disabledCommand: コマンドは現在無効になっています。
キャプチャがすでに停止されている場合などです。
- invalidParameterName: 入力パラメータ名は
認識されません。
コマンド I/O |
コマンド入力 |
none |
コマンド出力 |
{
"results": {
"fileUrls":[
"url1",
"url2",
"url3",
...
"urln"
]
}
} |
コマンド出力(エラー) |
{
"error": {
"code": "disabledCommand",
"message": "Command is currently disabled."
}
} |
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2024-08-21 UTC。
[[["わかりやすい","easyToUnderstand","thumb-up"],["問題の解決に役立った","solvedMyProblem","thumb-up"],["その他","otherUp","thumb-up"]],[["必要な情報がない","missingTheInformationINeed","thumb-down"],["複雑すぎる / 手順が多すぎる","tooComplicatedTooManySteps","thumb-down"],["最新ではない","outOfDate","thumb-down"],["翻訳に関する問題","translationIssue","thumb-down"],["サンプル / コードに問題がある","samplesCodeIssue","thumb-down"],["その他","otherDown","thumb-down"]],["最終更新日 2024-08-21 UTC。"],[],["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"]]