OSDN Git Service

a01fでの変更分をa01eにフィードバック。
[gokigen/mangle.git] / app / src / main / java / jp / osdn / gokigen / gokigenassets / camera / vendor / sony / wrapper / SonyCameraApi.kt
index 62b3516..14187e8 100644 (file)
@@ -272,6 +272,32 @@ class SonyCameraApi(private val sonyCamera: ISonyCamera) : ISonyCameraApi
         return JSONObject()
     }
 
+    override fun startContShooting(): JSONObject
+    {
+        try
+        {
+            return communicateJSON("camera", "startContShooting", JSONArray(), "1.0", -1)
+        }
+        catch (e: Exception)
+        {
+            e.printStackTrace()
+        }
+        return JSONObject()
+    }
+
+    override fun stopContShooting(): JSONObject
+    {
+        try
+        {
+            return communicateJSON("camera", "stopContShooting", JSONArray(), "1.0", -1)
+        }
+        catch (e: Exception)
+        {
+            e.printStackTrace()
+        }
+        return JSONObject()
+    }
+
     override fun startMovieRec(): JSONObject
     {
         try {