OSDN Git Service

NIKON対応途中。
[gokigen/A01d.git] / app / src / main / java / net / osdn / gokigen / a01d / camera / canon / wrapper / liveview / CanonLiveViewImageReceiver.java
index a9623cd..d1bc43d 100644 (file)
@@ -4,6 +4,7 @@ import android.util.Log;
 
 import androidx.annotation.NonNull;
 import net.osdn.gokigen.a01d.camera.ptpip.wrapper.command.IPtpIpCommandCallback;
+import net.osdn.gokigen.a01d.camera.ptpip.wrapper.liveview.IPtpIpLiveViewImageCallback;
 
 import java.io.ByteArrayOutputStream;
 
@@ -11,7 +12,7 @@ public class CanonLiveViewImageReceiver implements IPtpIpCommandCallback
 {
     private final String TAG = toString();
 
-    private ICanonLiveViewImageCallback callback;
+    private IPtpIpLiveViewImageCallback callback;
 
     private int received_total_bytes = 0;
     private int received_remain_bytes = 0;
@@ -20,7 +21,7 @@ public class CanonLiveViewImageReceiver implements IPtpIpCommandCallback
     private boolean receivedFirstData = false;
     private ByteArrayOutputStream byteStream;
 
-    CanonLiveViewImageReceiver(@NonNull ICanonLiveViewImageCallback callback)
+    CanonLiveViewImageReceiver(@NonNull IPtpIpLiveViewImageCallback callback)
     {
         this.callback = callback;
         byteStream = new ByteArrayOutputStream();