| java.lang.Object | |
| ↳ | android.media.CameraProfile |
The CameraProfile class is used to retrieve the pre-defined still image capture (jpeg) quality levels (0-100) used for low, medium, and high quality settings in the Camera application.
| Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| int | QUALITY_HIGH | ||||||||||
| int | QUALITY_LOW | Define three quality levels for JPEG image encoding. | |||||||||
| int | QUALITY_MEDIUM | ||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Returns a pre-defined still image capture (jpeg) quality level
used for the given quality level in the Camera application for
the first back-facing camera on the device.
| |||||||||||
Returns a pre-defined still image capture (jpeg) quality level
used for the given quality level in the Camera application for
the specified camera.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Define three quality levels for JPEG image encoding.
Returns a pre-defined still image capture (jpeg) quality level used for the given quality level in the Camera application for the first back-facing camera on the device. If the device has no back-facing camera, this returns 0.
| quality | The target quality level |
|---|
Returns a pre-defined still image capture (jpeg) quality level used for the given quality level in the Camera application for the specified camera.
| cameraId | The id of the camera |
|---|---|
| quality | The target quality level |