public static enum FrameInterval.Type extends Enum<FrameInterval.Type>
| Enum Constant and Description |
|---|
DISCRETE
A DISCRETE type means frame intervals are reported as a list of
FrameInterval.DiscreteInterval objects, using
FrameInterval.getDiscreteIntervals() |
STEPWISE
A STEPWISE type means that frame intervals are reported as minimum,
maximum and step values, encapsulated in a
FrameInterval.StepwiseInterval object. |
UNSUPPORTED
An UNSUPPORTED type means supported frame interval information cannot
be obtained from the driver.
|
| Modifier and Type | Method and Description |
|---|---|
static FrameInterval.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FrameInterval.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FrameInterval.Type UNSUPPORTED
FrameInterval object (except
FrameInterval.getType() will throw an
UnsupportedMethod exception.public static final FrameInterval.Type DISCRETE
FrameInterval.DiscreteInterval objects, using
FrameInterval.getDiscreteIntervals()public static final FrameInterval.Type STEPWISE
FrameInterval.StepwiseInterval object. Use
FrameInterval.getStepwiseInterval() to retrieve it.public static FrameInterval.Type[] values()
for (FrameInterval.Type c : FrameInterval.Type.values()) System.out.println(c);
public static FrameInterval.Type valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2013-2015 Bartosz Firyn (sarxos). All Rights Reserved.