public class

Camera.Size

extends Object
java.lang.Object
   ↳ android.hardware.Camera.Size

Class Overview

Handles the picture size (dimensions).

Summary

Fields
public int height height of the picture
public int width width of the picture
Public Constructors
Camera.Size(int w, int h)
Sets the dimensions for pictures.
[Expand]
Inherited Methods
From class java.lang.Object

Fields

public int height

Since: API Level 1

height of the picture

public int width

Since: API Level 1

width of the picture

Public Constructors

public Camera.Size (int w, int h)

Since: API Level 1

Sets the dimensions for pictures.

Parameters
w the photo width (pixels)
h the photo height (pixels)