Class CameraInfo

java.lang.Object
com.ccc.barcode.CameraInfo

public class CameraInfo extends Object
Info provided to CameraServer callbacks. This can be used to track which camera received each scan.
  • Constructor Details

  • Method Details

    • getCameraAddress

      public InetSocketAddress getCameraAddress() throws IOException
      Get the socket address of the camera.
      Returns:
      The socket address of the camera.
      Throws:
      IOException
    • getServerAddress

      public InetSocketAddress getServerAddress() throws IOException
      Get the socket address of the camera server: the device using this library to listen for cameras.
      Returns:
      The socket address of the camera server.
      Throws:
      IOException