import net.osdn.gokigen.pkremote.camera.vendor.sony.ISonyInterfaceProvider;
import net.osdn.gokigen.pkremote.camera.vendor.sony.wrapper.SonyCameraWrapper;
import net.osdn.gokigen.pkremote.camera.vendor.theta.wrapper.ThetaInterfaceProvider;
+import net.osdn.gokigen.pkremote.camera.vendor.visionkids.wrapper.VisionKidsInterfaceProvider;
import net.osdn.gokigen.pkremote.preference.IPreferencePropertyAccessor;
import androidx.annotation.NonNull;
private final OlympusPenInterfaceProvider olympuspen;
private final ThetaInterfaceProvider theta;
private final PixproInterfaceProvider pixpro;
+ private final VisionKidsInterfaceProvider visionKids;
+
private final IInformationReceiver informationReceiver;
private final CameraContentsRecognizer cameraContentsRecognizer;
private final AppCompatActivity context;
olympuspen = new OlympusPenInterfaceProvider(context, provider);
theta = new ThetaInterfaceProvider(context, provider);
pixpro = new PixproInterfaceProvider(context, provider, informationReceiver);
+ visionKids = new VisionKidsInterfaceProvider(context, provider, informationReceiver);
this.informationReceiver = informationReceiver;
this.cameraContentsRecognizer = new CameraContentsRecognizer(context, this);
}
{
return (pixpro.getPixproCameraConnection());
}
+ else if (connectionMethod == ICameraConnection.CameraConnectionMethod.VISIONKIDS)
+ {
+ return (visionKids.getVisionKidsCameraConnection());
+ }
else // if (connectionMethod == ICameraConnection.CameraConnectionMethod.RICOH)
{
return (ricohGr2.getRicohGr2CameraConnection());
{
return (pixpro.getButtonControl());
}
+ else if (connectionMethod == ICameraConnection.CameraConnectionMethod.VISIONKIDS)
+ {
+ return (visionKids.getButtonControl());
+ }
else // if (connectionMethod == ICameraConnection.CameraConnectionMethod.RICOH)
{
return (ricohGr2.getButtonControl());
{
return (pixpro.getDisplayInjector());
}
+ else if (connectionMethod == ICameraConnection.CameraConnectionMethod.VISIONKIDS)
+ {
+ return (visionKids.getDisplayInjector());
+ }
else // if (connectionMethod == ICameraConnection.CameraConnectionMethod.RICOH)
{
return (ricohGr2.getDisplayInjector());
{
return (pixpro.getLiveViewControl());
}
+ else if (connectionMethod == ICameraConnection.CameraConnectionMethod.VISIONKIDS)
+ {
+ return (visionKids.getLiveViewControl());
+ }
else // if (connectionMethod == ICameraConnection.CameraConnectionMethod.RICOH)
{
return (ricohGr2.getLiveViewControl());
{
return (pixpro.getLiveViewListener());
}
+ else if (connectionMethod == ICameraConnection.CameraConnectionMethod.VISIONKIDS)
+ {
+ return (visionKids.getLiveViewListener());
+ }
else // if (connectionMethod == ICameraConnection.CameraConnectionMethod.RICOH)
{
return (ricohGr2.getLiveViewListener());
{
return (pixpro.getFocusingControl());
}
+ else if (connectionMethod == ICameraConnection.CameraConnectionMethod.VISIONKIDS)
+ {
+ return (visionKids.getFocusingControl());
+ }
else // if (connectionMethod == ICameraConnection.CameraConnectionMethod.RICOH)
{
return (ricohGr2.getFocusingControl());
{
return (pixpro.getCameraInformation());
}
+ else if (connectionMethod == ICameraConnection.CameraConnectionMethod.VISIONKIDS)
+ {
+ return (visionKids.getCameraInformation());
+ }
else // if (connectionMethod == ICameraConnection.CameraConnectionMethod.RICOH)
{
return (ricohGr2.getCameraInformation());
{
return (pixpro.getZoomLensControl());
}
+ else if (connectionMethod == ICameraConnection.CameraConnectionMethod.VISIONKIDS)
+ {
+ return (visionKids.getZoomLensControl());
+ }
else // if (connectionMethod == ICameraConnection.CameraConnectionMethod.RICOH)
{
return (ricohGr2.getZoomLensControl());
{
return (pixpro.getCaptureControl());
}
+ else if (connectionMethod == ICameraConnection.CameraConnectionMethod.VISIONKIDS)
+ {
+ return (visionKids.getCaptureControl());
+ }
else // if (connectionMethod == ICameraConnection.CameraConnectionMethod.RICOH)
{
return (ricohGr2.getCaptureControl());
{
return (pixpro.getCameraStatusListHolder());
}
+ else if (connectionMethod == ICameraConnection.CameraConnectionMethod.VISIONKIDS)
+ {
+ return (visionKids.getCameraStatusListHolder());
+ }
else // if (connectionMethod == ICameraConnection.CameraConnectionMethod.RICOH)
{
return (ricohGr2.getCameraStatusListHolder());
{
return (pixpro.getCameraStatusWatcher());
}
+ else if (connectionMethod == ICameraConnection.CameraConnectionMethod.VISIONKIDS)
+ {
+ return (visionKids.getCameraStatusWatcher());
+ }
else // if (connectionMethod == ICameraConnection.CameraConnectionMethod.RICOH)
{
return (ricohGr2.getCameraStatusWatcher());
{
return (pixpro.getPlaybackControl());
}
+ else if (connectionMethod == ICameraConnection.CameraConnectionMethod.VISIONKIDS)
+ {
+ return (visionKids.getPlaybackControl());
+ }
else // if (connectionMethod == ICameraConnection.CameraConnectionMethod.RICOH)
{
return (ricohGr2.getPlaybackControl());
{
return (pixpro.getHardwareStatus());
}
+ else if (connectionMethod == ICameraConnection.CameraConnectionMethod.VISIONKIDS)
+ {
+ return (visionKids.getHardwareStatus());
+ }
else // if (connectionMethod == ICameraConnection.CameraConnectionMethod.RICOH)
{
return (ricohGr2.getHardwareStatus());
{
return (pixpro.getCameraRunMode());
}
+ else if (connectionMethod == ICameraConnection.CameraConnectionMethod.VISIONKIDS)
+ {
+ return (visionKids.getCameraRunMode());
+ }
else // if (connectionMethod == ICameraConnection.CameraConnectionMethod.RICOH)
{
return (ricohGr2.getCameraRunMode());
{
ret = ICameraConnection.CameraConnectionMethod.PIXPRO;
}
+ else if (connectionMethod.contains("VISIONKIDS"))
+ {
+ ret = ICameraConnection.CameraConnectionMethod.VISIONKIDS;
+ }
else // if (connectionMethod.contains("OPC"))
{
ret = ICameraConnection.CameraConnectionMethod.OPC;