Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Đặt giá trị cho các thuộc tính được chỉ định; ví dụ: bật/tắt GPS, ngày & thời gian,
ISO, cân bằng trắng, tốc độ màn trập, độ trễ khi ngủ/tắt nguồn, v.v. Lệnh này đã được sửa đổi trong API cấp 2.
Tham số
sessionId: Giá trị nhận dạng phiên duy nhất của chuỗi loại, thu được
bằng lệnh camera.startSession.
Trường này không còn được dùng trong API cấp 2.
options:Các cặp thuộc tính JSON <key, value> cần đặt. Chiến lược phát hành đĩa đơn
giá trị có thể là bất kỳ loại nào sau đây: String, String Array, Number,
Number Array, Boolean, Object, Object Array. Xem
Tuỳ chọn.
Kết quả
Lệnh này không trả về kết quả nào.
Lỗi
ThiếuTham số: Thiếu một hoặc nhiều tham số bắt buộc; với
ví dụ: options không được chỉ định.
IllegalParameterName: Một hoặc nhiều lựa chọn về tham số đầu vào
tên không xác định hoặc không được hỗ trợ, ví dụ: mã này sẽ được trả về nếu một
tuỳ chọn (ví dụ: captureInterval) từ API cấp 2 được sử dụng khi clientVersion
trong Options là 1.
invalidParameterValue: Một hoặc nhiều tham số đầu vào hoặc tên lựa chọn
được nhận dạng, nhưng giá trị của tham số này không hợp lệ; ví dụ: loại dữ liệu không chính xác.
[[["Dễ hiểu","easyToUnderstand","thumb-up"],["Giúp tôi giải quyết được vấn đề","solvedMyProblem","thumb-up"],["Khác","otherUp","thumb-up"]],[["Thiếu thông tin tôi cần","missingTheInformationINeed","thumb-down"],["Quá phức tạp/quá nhiều bước","tooComplicatedTooManySteps","thumb-down"],["Đã lỗi thời","outOfDate","thumb-down"],["Vấn đề về bản dịch","translationIssue","thumb-down"],["Vấn đề về mẫu/mã","samplesCodeIssue","thumb-down"],["Khác","otherDown","thumb-down"]],["Cập nhật lần gần đây nhất: 2024-08-21 UTC."],[[["Sets camera properties like GPS, date/time, ISO, and shutter speed."],["This command was modified in API level 2, removing the need for a session identifier."],["`options` parameter accepts JSON key-value pairs to configure camera settings."],["Possible errors include missing parameters, invalid parameter names or values."]]],["This command sets properties like GPS, date/time, ISO, white balance, and shutter speed. In API level 1, it required a unique `sessionId` from `camera.startSession`; this is deprecated in API level 2. The input includes `options` as JSON key-value pairs to define the properties. API level 1 needed a sessionId, API level 2 removed it. No results are returned, but errors cover missing, invalid parameter names or values. The command input shows how to define parameters for both API levels.\n"]]