Share via


CameraProfile.GetJpegEncodingQualityParameter Method

Definition

Overloads

GetJpegEncodingQualityParameter(CameraQuality)

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.

GetJpegEncodingQualityParameter(Int32, CameraQuality)

Returns a pre-defined still image capture (jpeg) quality level used for the given quality level in the Camera application for the specified camera.

GetJpegEncodingQualityParameter(CameraQuality)

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.

[Android.Runtime.Register("getJpegEncodingQualityParameter", "(I)I", "")]
public static int GetJpegEncodingQualityParameter (Android.Media.CameraQuality quality);
[<Android.Runtime.Register("getJpegEncodingQualityParameter", "(I)I", "")>]
static member GetJpegEncodingQualityParameter : Android.Media.CameraQuality -> int

Parameters

quality
CameraQuality

The target quality level

Returns

Attributes

Remarks

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.

Java documentation for android.media.CameraProfile.getJpegEncodingQualityParameter(int).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

GetJpegEncodingQualityParameter(Int32, CameraQuality)

Returns a pre-defined still image capture (jpeg) quality level used for the given quality level in the Camera application for the specified camera.

[Android.Runtime.Register("getJpegEncodingQualityParameter", "(II)I", "")]
public static int GetJpegEncodingQualityParameter (int cameraId, Android.Media.CameraQuality quality);
[<Android.Runtime.Register("getJpegEncodingQualityParameter", "(II)I", "")>]
static member GetJpegEncodingQualityParameter : int * Android.Media.CameraQuality -> int

Parameters

cameraId
Int32

The id of the camera

quality
CameraQuality

The target quality level

Returns

Attributes

Remarks

Returns a pre-defined still image capture (jpeg) quality level used for the given quality level in the Camera application for the specified camera.

Java documentation for android.media.CameraProfile.getJpegEncodingQualityParameter(int, int).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to