지정된 속성의 값을 설정합니다. 예: GPS 켜기/끄기, 날짜 및 시간,
ISO, 화이트 밸런스, 셔터 속도, 절전 모드/전원 끄기 지연 등입니다. 이 명령어는 API 수준 2에서 수정되었습니다.
매개변수
sessionId: 문자열 유형의 고유한 세션 식별자로, 획득됩니다.
camera.startSession 명령어를 사용합니다.
이 필드는 API 수준 2에서 지원 중단되었습니다.
options: 설정할 속성의 JSON <key, value> 쌍입니다. 이
값은 String, String Array, Number,
Number Array, Boolean, Object, Object Array. 자세한 내용은
옵션.
결과
이 명령어는 결과를 반환하지 않습니다.
오류
missingParameter: 하나 이상의 필수 매개변수가 누락되었습니다. 대상:
예를 들어 options가 지정되지 않았습니다.
invalidParameterName: 하나 이상의 입력 매개변수 옵션 또는 옵션이 있습니다.
알 수 없거나 지원되지 않는 이름입니다(예: 이 코드가 반환되어야 하는 경우
clientVersion일 때 API 수준 2의 옵션 (예: captureInterval)이 사용됩니다.
(Options)는 1입니다.
invalidParameterValue: 하나 이상의 입력 매개변수 또는 옵션 이름입니다.
은(는) 인식되지만 값이 잘못되었습니다. 예를 들어 데이터 유형이 올바르지 않을 수 있습니다.
[null,null,["최종 업데이트: 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"]]