Package com.bambuser.broadcaster
Class Broadcaster.Camera
java.lang.Object
com.bambuser.broadcaster.Broadcaster.Camera
- Enclosing class:
- Broadcaster
Basic information describing an available camera.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringExternal removable camera.final StringFacing of this camera.static final StringCamera with narrow (telephoto) field of view.static final StringCamera with ultrawide field of view.static final StringCamera with unknown field of view, or legacy device.static final StringCamera with wide/normal field of view.final StringIndicates what kind of field of view this camera has.static final StringSelfie camera with facing like the screen of the device.final StringUnique id for this camera.final booleanTrue if this camera is monochrome.final List<Resolution>List of supported resolutions for still pictures.static final StringRear, usually main camera of the device.final List<Resolution>List of supported camera resolutions for continuous preview and video capture. -
Method Summary
-
Field Details
-
FRONT
Selfie camera with facing like the screen of the device.- See Also:
-
REAR
Rear, usually main camera of the device.- See Also:
-
EXTERNAL
External removable camera.- See Also:
-
FOV_UNKNOWN
Camera with unknown field of view, or legacy device.- See Also:
-
FOV_WIDE
Camera with wide/normal field of view.- See Also:
-
FOV_ULTRAWIDE
Camera with ultrawide field of view.- See Also:
-
FOV_TELE
Camera with narrow (telephoto) field of view.- See Also:
-
id
Unique id for this camera. Can be passed tosetCameraId(id) -
facing
-
videoResolutions
List of supported camera resolutions for continuous preview and video capture. -
pictureResolutions
List of supported resolutions for still pictures. -
monochrome
public final boolean monochromeTrue if this camera is monochrome. -
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.
-