1 package net.osdn.gokigen.pkremote.camera.vendor.sony.wrapper;
4 import org.json.JSONArray;
5 import org.json.JSONObject;
9 import androidx.annotation.NonNull;
11 public interface ISonyCameraApi
13 JSONObject getAvailableApiList();
14 JSONObject getApplicationInfo();
16 JSONObject getShootMode();
17 JSONObject setShootMode(@NonNull String shootMode);
18 JSONObject getAvailableShootMode();
19 JSONObject getSupportedShootMode();
21 JSONObject setTouchAFPosition(double Xpos, double Ypos);
22 JSONObject getTouchAFPosition();
23 JSONObject cancelTouchAFPosition();
25 JSONObject actHalfPressShutter();
26 JSONObject cancelHalfPressShutter();
28 JSONObject setFocusMode(String focusMode);
29 JSONObject getFocusMode();
30 JSONObject getSupportedFocusMode();
31 JSONObject getAvailableFocusMode();
33 JSONObject startLiveview();
34 JSONObject stopLiveview();
36 JSONObject startRecMode();
37 JSONObject actTakePicture();
38 JSONObject awaitTakePicture();
40 JSONObject startMovieRec();
41 JSONObject stopMovieRec();
43 JSONObject actZoom(@NonNull String direction, @NonNull String movement);
45 JSONObject getEvent(@NonNull String version, boolean longPollingFlag);
47 JSONObject setCameraFunction(@NonNull String cameraFunction);
49 JSONObject getCameraMethodTypes();
51 JSONObject getAvcontentMethodTypes();
53 JSONObject getSchemeList();
54 JSONObject getSourceList(String scheme);
56 JSONObject getContentList(JSONArray params);
58 JSONObject setStreamingContent(String uri);
60 JSONObject startStreaming();
61 JSONObject stopStreaming();
63 List<String> getSonyApiServiceList();
64 JSONObject callGenericSonyApiMethod(@NonNull String service, @NonNull String method, @NonNull JSONArray params, @NonNull String version);