camera.reset
すべてのオプションをデフォルト値に戻します。想定する必要はない
たとえば、電源をオンにしたときのカメラの状態を
デフォルトのオプションで毎回カメラの電源が入ります。
このコマンドは API レベル 2 で追加されました。
パラメータ
- このコマンドのリクエスト本文にパラメータはありません。
結果
- このコマンドはレスポンスの本文に結果を返しません。
エラー
- invalidParameterName: 入力パラメータ名を認識できません。
コマンド I/O |
コマンド入力 |
none |
コマンド出力 |
none |
コマンド出力(エラー) |
{ "error": { "code": "invalidParameterName", "message": "parameter XYZ is unrecognized." } } |
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2024-08-21 UTC。
[null,null,["最終更新日 2024-08-21 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"]]