public static class ResolutionInfo.StepwiseResolution extends Object
StepwiseResolution object matching the above criteria will
contain:
StepwiseResolution.minWidth = 160
StepwiseResolution.minHeight = 120
StepwiseResolution.stepWidth = 160
StepwiseResolution.stepHeight= 120
StepwiseResolution.maxWidth = 800
StepwiseResolution.maxHeight = 600
These values can also be obtained using the accessor methods.
Objects of this class also contains two FrameInterval objects
providing information on supported frame intervals for capture
at the minimum resolution
(getMinResFrameInterval()) and maximum
resolution (getMaxResFrameInterval()).
You can find out supported frame intervals for any other intermediate
resolution by calling
DeviceInfo.listIntervals(ImageFormat, int, int).
A StepwiseResolution object is not directly instantiated. Instead, it can
be obtained through a ResolutionInfo.| Modifier and Type | Field and Description |
|---|---|
int |
maxHeight
The minimum, maximum and step values for both width and height
|
FrameInterval |
maxInterval
The frame interval object containing information on supported
frame intervals for capture at the maximum resolution
(maxWidth x maxHeight).
|
int |
maxWidth
The minimum, maximum and step values for both width and height
|
int |
minHeight
The minimum, maximum and step values for both width and height
|
FrameInterval |
minInterval
The frame interval object containing information on supported
frame intervals for capture at the minimum resolution
(minWidth x minHeight).
|
int |
minWidth
The minimum, maximum and step values for both width and height
|
int |
stepHeight
The minimum, maximum and step values for both width and height
|
int |
stepWidth
The minimum, maximum and step values for both width and height
|
| Modifier and Type | Method and Description |
|---|---|
int |
getHeightStep()
This method returns the height step.
|
int |
getMaxHeight()
This method returns the maximum height.
|
FrameInterval |
getMaxResFrameInterval()
This method returns the frame interval object, containing
information on all supported frame interval at the maximum
resolution (maxWidth x maxHeight)
|
int |
getMaxWidth()
This method returns the maximum width.
|
int |
getMinHeight()
This method returns the minimum height.
|
FrameInterval |
getMinResFrameInterval()
This method returns the frame interval object, containing
information on all supported frame interval at the minimum
resolution (minWidth x minHeight)
|
int |
getMinWidth()
This method returns the minimum width.
|
int |
getWidthStep()
This method returns the width step.
|
String |
toString() |
public final int minWidth
public final int maxWidth
public final int stepWidth
public final int minHeight
public final int maxHeight
public final int stepHeight
public final FrameInterval minInterval
public final FrameInterval maxInterval
public int getMinWidth()
public int getMaxWidth()
public int getWidthStep()
public int getMinHeight()
public int getMaxHeight()
public int getHeightStep()
public FrameInterval getMinResFrameInterval()
public FrameInterval getMaxResFrameInterval()
Copyright © 2013-2015 Bartosz Firyn (sarxos). All Rights Reserved.