Class Broadcaster.Camera

java.lang.Object
com.bambuser.broadcaster.Broadcaster.Camera
Enclosing class:
Broadcaster

public static class Broadcaster.Camera extends Object
Basic information describing an available camera.
  • Field Details

    • FRONT

      public static final String FRONT
      Selfie camera with facing like the screen of the device.
      See Also:
    • REAR

      public static final String REAR
      Rear, usually main camera of the device.
      See Also:
    • EXTERNAL

      public static final String EXTERNAL
      External removable camera.
      See Also:
    • FOV_UNKNOWN

      public static final String FOV_UNKNOWN
      Camera with unknown field of view, or legacy device.
      See Also:
    • FOV_WIDE

      public static final String FOV_WIDE
      Camera with wide/normal field of view.
      See Also:
    • FOV_ULTRAWIDE

      public static final String FOV_ULTRAWIDE
      Camera with ultrawide field of view.
      See Also:
    • FOV_TELE

      public static final String FOV_TELE
      Camera with narrow (telephoto) field of view.
      See Also:
    • id

      public final String id
      Unique id for this camera. Can be passed to setCameraId(id)
    • facing

      public final String facing
      Facing of this camera. Currently FRONT, REAR or EXTERNAL, with other values possible in the future.
    • videoResolutions

      public final List<Resolution> videoResolutions
      List of supported camera resolutions for continuous preview and video capture.
    • pictureResolutions

      public final List<Resolution> pictureResolutions
      List of supported resolutions for still pictures.
    • monochrome

      public final boolean monochrome
      True if this camera is monochrome.
    • fovType

      public final String fovType
      Indicates what kind of field of view this camera has. Currently FOV_UNKNOWN, FOV_WIDE, FOV_ULTRAWIDE or FOV_TELE, with other values possible in the future.