OSDN Git Service

PとSの制御コードを a01d からマージ。
[gokigen/PKRemote.git] / app / src / main / java / net / osdn / gokigen / pkremote / camera / vendor / sony / wrapper / ISonyCameraApi.java
1 package net.osdn.gokigen.pkremote.camera.vendor.sony.wrapper;
2
3
4 import org.json.JSONArray;
5 import org.json.JSONObject;
6
7 import java.util.List;
8
9 import androidx.annotation.NonNull;
10
11 public interface ISonyCameraApi
12 {
13     JSONObject getAvailableApiList();
14     JSONObject getApplicationInfo();
15
16     JSONObject getShootMode();
17     JSONObject setShootMode(@NonNull String shootMode);
18     JSONObject getAvailableShootMode();
19     JSONObject getSupportedShootMode();
20
21     JSONObject setTouchAFPosition(double Xpos, double Ypos);
22     JSONObject getTouchAFPosition();
23     JSONObject cancelTouchAFPosition();
24
25     JSONObject actHalfPressShutter();
26     JSONObject cancelHalfPressShutter();
27
28     JSONObject setFocusMode(String focusMode);
29     JSONObject getFocusMode();
30     JSONObject getSupportedFocusMode();
31     JSONObject getAvailableFocusMode();
32
33     JSONObject startLiveview();
34     JSONObject stopLiveview();
35
36     JSONObject startRecMode();
37     JSONObject actTakePicture();
38     JSONObject awaitTakePicture();
39
40     JSONObject startMovieRec();
41     JSONObject stopMovieRec();
42
43     JSONObject actZoom(@NonNull String direction, @NonNull String movement);
44
45     JSONObject getEvent(@NonNull String version, boolean longPollingFlag);
46
47     JSONObject setCameraFunction(@NonNull String cameraFunction);
48
49     JSONObject getCameraMethodTypes();
50
51     JSONObject getAvcontentMethodTypes();
52
53     JSONObject getSchemeList();
54     JSONObject getSourceList(String scheme);
55
56     JSONObject getContentList(JSONArray params);
57
58     JSONObject setStreamingContent(String uri);
59
60     JSONObject startStreaming();
61     JSONObject stopStreaming();
62
63     List<String> getSonyApiServiceList();
64     JSONObject callGenericSonyApiMethod(@NonNull String service, @NonNull String method, @NonNull JSONArray params, @NonNull String version);
65 }