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 String
EXTERNAL
External removable camera.String
facing
Facing of this camera.static String
FOV_TELE
Camera with narrow (telephoto) field of view.static String
FOV_ULTRAWIDE
Camera with ultrawide field of view.static String
FOV_UNKNOWN
Camera with unknown field of view, or legacy device.static String
FOV_WIDE
Camera with wide/normal field of view.String
fovType
Indicates what kind of field of view this camera has.static String
FRONT
Selfie camera with facing like the screen of the device.String
id
Unique id for this camera.boolean
monochrome
True if this camera is monochrome.List<Resolution>
pictureResolutions
List of supported resolutions for still pictures.static String
REAR
Rear, usually main camera of the device.List<Resolution>
videoResolutions
List 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_ULTRAWIDE
orFOV_TELE
, with other values possible in the future.
-
-