Contains information on what capabilities the current device has for video recording.
| public static final Creator<VideoCapabilities> | CREATOR |
| boolean | |
| boolean[] |
getSupportedCaptureModes()
Returns a collection of all supported capture modes.
|
| boolean[] |
getSupportedQualityLevels()
Returns a collection of all supported capture qualities.
|
| int |
hashCode()
|
| boolean |
isCameraSupported()
Returns whether the device has a front-facing camera and we can use it.
|
| boolean |
isFullySupported(int captureMode, int qualityLevel)
Checks if the capture mode and quality level are support, and camera, mic, and
storage write.
|
| boolean |
isMicSupported()
Returns whether the device has a microphone and we can use it.
|
| boolean |
isWriteStorageSupported()
Returns whether the device has an external storage device and we can use it.
|
| boolean |
supportsCaptureMode(int captureMode)
Returns whether the device supports the given capture mode.
|
| boolean |
supportsQualityLevel(int qualityLevel)
Returns whether the device supports the given quality level.
|
| String |
toString()
|
| void |
writeToParcel(Parcel out, int
flags)
|
Returns a collection of all supported capture modes.
Returns a collection of all supported capture qualities.
Returns whether the device has a front-facing camera and we can use it.
Checks if the capture mode and quality level are support, and camera, mic, and storage write.
| captureMode | One of these values:
VideoConfiguration.CAPTURE_MODE_FILE or
VideoConfiguration.CAPTURE_MODE_STREAM. |
|---|---|
| qualityLevel | One of these values:
VideoConfiguration.QUALITY_LEVEL_SD,
VideoConfiguration.QUALITY_LEVEL_HD,
VideoConfiguration.QUALITY_LEVEL_FULLHD, or
VideoConfiguration.QUALITY_LEVEL_XHD. |
Returns whether the device has a microphone and we can use it.
Returns whether the device has an external storage device and we can use it.
Returns whether the device supports the given capture mode.
| captureMode | One of these values:
VideoConfiguration.CAPTURE_MODE_FILE or
VideoConfiguration.CAPTURE_MODE_STREAM. |
|---|
Returns whether the device supports the given quality level.
| qualityLevel | One of these values:
VideoConfiguration.QUALITY_LEVEL_SD,
VideoConfiguration.QUALITY_LEVEL_HD,
VideoConfiguration.QUALITY_LEVEL_FULLHD, or
VideoConfiguration.QUALITY_LEVEL_XHD. |
|---|