đặt lại camera.
Đặt tất cả tuỳ chọn về giá trị mặc định. Không nên đưa ra giả định
về trạng thái của camera khi bật nguồn, ví dụ: không nên
giả định rằng mỗi lần máy ảnh đều được bật với các lựa chọn mặc định.
Lệnh này đã được thêm vào từ API cấp 2.
Tham số
- Lệnh này không có tham số trong nội dung yêu cầu.
Kết quả
- Lệnh này không trả về kết quả nào trong nội dung phản hồi.
Lỗi
- không hợp lệTham số: Tên tham số đầu vào không nhận dạng được.
Lệnh I/O |
Nhập lệnh |
none |
Kết quả lệnh |
none |
Ra lệnh (Lỗi) |
{ "error": { "code": "invalidParameterName", "message": "parameter XYZ is unrecognized." } } |
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2024-08-21 UTC.
[null,null,["Cập nhật lần gần đây nhất: 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"]]