public class AndroidCamera2Capabilities extends CameraCapabilities
CameraCapabilities
for Android Camera 2 API.CameraCapabilities.Feature, CameraCapabilities.FlashMode, CameraCapabilities.FocusMode, CameraCapabilities.SceneMode, CameraCapabilities.Stringifier, CameraCapabilities.WhiteBalance
mExposureCompensationStep, mHorizontalViewAngle, mMaxExposureCompensation, mMaxNumOfFacesSupported, mMaxNumOfFocusAreas, mMaxNumOfMeteringArea, mMaxZoomRatio, mMinExposureCompensation, mPreferredPreviewSizeForVideo, mSupportedFeatures, mSupportedFlashModes, mSupportedFocusModes, mSupportedPhotoFormats, mSupportedPhotoSizes, mSupportedPreviewFormats, mSupportedPreviewFpsRange, mSupportedPreviewSizes, mSupportedSceneModes, mSupportedVideoSizes, mSupportedWhiteBalances, mVerticalViewAngle, ZOOM_RATIO_UNZOOMED
Modifier and Type | Method and Description |
---|---|
static CameraCapabilities.FocusMode |
focusModeFromInt(int fm)
Converts the API-related integer representation of the focus mode to the
abstract representation.
|
static CameraCapabilities.SceneMode |
sceneModeFromInt(int sm)
Converts the API-related integer representation of the scene mode to the
abstract representation.
|
static CameraCapabilities.WhiteBalance |
whiteBalanceFromInt(int wb)
Converts the API-related integer representation of the white balance to
the abstract representation.
|
getExposureCompensationStep, getHorizontalViewAngle, getMaxExposureCompensation, getMaxNumOfFacesSupported, getMaxZoomRatio, getMinExposureCompensation, getPreferredPreviewSizeForVideo, getStringifier, getSupportedFeature, getSupportedFlashModes, getSupportedFocusModes, getSupportedPhotoFormats, getSupportedPhotoSizes, getSupportedPreviewFormats, getSupportedPreviewFpsRange, getSupportedPreviewSizes, getSupportedSceneModes, getSupportedVideoSizes, getSupportedWhiteBalance, getVerticalViewAngle, supports, supports, supports, supports, supports, supports
public static CameraCapabilities.FocusMode focusModeFromInt(int fm)
fm
- The integral representation.null
if it
cannot be converted.public static CameraCapabilities.SceneMode sceneModeFromInt(int sm)
sm
- The integral representation.null
if it
cannot be converted.public static CameraCapabilities.WhiteBalance whiteBalanceFromInt(int wb)
wb
- The integral representation.null
if
it cannot be converted.