1 package net.osdn.gokigen.a01d.camera.canon.wrapper.connection;
3 import androidx.annotation.NonNull;
5 import net.osdn.gokigen.a01d.camera.ptpip.IPtpIpInterfaceProvider;
6 import net.osdn.gokigen.a01d.camera.ptpip.wrapper.command.IPtpIpCommunication;
8 class CanonCameraDisconnectSequence implements Runnable
10 private final IPtpIpCommunication command;
11 private final IPtpIpCommunication async;
12 private final IPtpIpCommunication liveview;
14 CanonCameraDisconnectSequence(@NonNull IPtpIpInterfaceProvider interfaceProvider)
16 this.command = interfaceProvider.getCommandCommunication();
17 this.async = interfaceProvider.getAsyncEventCommunication();
18 this.liveview = interfaceProvider.getLiveviewCommunication();
26 liveview.disconnect();