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。
[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"]]