This page shows you how to make connections with cameras using RICOH Camera USB SDK.


The following classes are used when you make a connection with cameras:


  • The CameraDeviceDetector class includes methods for detecting camera devices which are connected with USBs.


  • The CameraDevice class represents a camera device.
  • This class includes methods for obtaining camera information and operating camera device.

Detect Cameras

Use the detect to obtain a list of connectable camera devices.
To connect to a camera, you need to detect connectable camera devices first.

DeviceInterface deviceInterface = DeviceInterface::USB;
std::vector<std::shared_ptr<CameraDevice>> detectedCameraDevices =

Connect to Camera

Use the connect method to connect to one of the detected camera devices.

std::share_ptr<CameraDevice> cameraDevice = detectedCameraDevices[0];
Response response = cameraDevice->connect(deviceInterface);

Disconnect from Camera

Use the disconnect method to disconnect from the camera.

Response response = cameraDevice->disconnect(deviceInterface);

Check Connection Status

Use the isConnected method to check connection status of the camera.

bool isConnected = cameraDevice->isConnected(deviceInterface);

See Also

  • Events - Describes events such as receiving camera event notifications.