camera.reset
將所有選項設回預設值。不得做出任何假設
相機在開機時的狀態,
會假設相機每次都會開啟 (具有預設選項)。
這項指令已新增至 API 級別 2。
參數
結果
錯誤
- INVALIDParameterName:無法辨識輸入參數名稱。
指令 I/O |
指令輸入 |
none |
指令輸出 |
none |
指令輸出 (錯誤) |
{ "error": { "code": "invalidParameterName", "message": "parameter XYZ is unrecognized." } } |
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2024-08-21 (世界標準時間)。
[null,null,["上次更新時間:2024-08-21 (世界標準時間)。"],[[["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"]]