Package com.bambuser.broadcaster
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 Summary
Fields Modifier and Type Field Description static StringEXTERNALExternal removable camera.StringfacingFacing of this camera.static StringFOV_TELECamera with narrow (telephoto) field of view.static StringFOV_ULTRAWIDECamera with ultrawide field of view.static StringFOV_UNKNOWNCamera with unknown field of view, or legacy device.static StringFOV_WIDECamera with wide/normal field of view.StringfovTypeIndicates what kind of field of view this camera has.static StringFRONTSelfie camera with facing like the screen of the device.StringidUnique id for this camera.booleanmonochromeTrue if this camera is monochrome.List<Resolution>pictureResolutionsList of supported resolutions for still pictures.static StringREARRear, usually main camera of the device.List<Resolution>videoResolutionsList of supported camera resolutions for continuous preview and video capture.
-
-
-
Field Detail
-
FRONT
public static final String FRONT
Selfie camera with facing like the screen of the device.- See Also:
- Constant Field Values
-
REAR
public static final String REAR
Rear, usually main camera of the device.- See Also:
- Constant Field Values
-
EXTERNAL
public static final String EXTERNAL
External removable camera.- See Also:
- Constant Field Values
-
FOV_UNKNOWN
public static final String FOV_UNKNOWN
Camera with unknown field of view, or legacy device.- See Also:
- Constant Field Values
-
FOV_WIDE
public static final String FOV_WIDE
Camera with wide/normal field of view.- See Also:
- Constant Field Values
-
FOV_ULTRAWIDE
public static final String FOV_ULTRAWIDE
Camera with ultrawide field of view.- See Also:
- Constant Field Values
-
FOV_TELE
public static final String FOV_TELE
Camera with narrow (telephoto) field of view.- See Also:
- Constant Field Values
-
id
public final String id
Unique id for this camera. Can be passed tosetCameraId(id)
-
facing
public final String facing
-
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. CurrentlyFOV_UNKNOWN,FOV_WIDE,FOV_ULTRAWIDEorFOV_TELE, with other values possible in the future.
-
-