|
JSR-234 1.1 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface WhiteBalanceControl
WhiteBalanceControl
is an image/video effect
for altering the white balance.
sunlight
(normal daylight)
cloudy
(overcast daylight)
shade
tungsten
(Tungsten filament lighting. Tungsten filament is commonly used in light bulbs.)
fluorescent
(Fluorescent tube lighting.)
flash
(White balance mode optimal for the integrated flash of the device.)
Field Summary | |
---|---|
static int |
AUTO
Automatic setting. |
static int |
NEXT
Moves the setting to the next supported level. |
static int |
PREVIOUS
Moves the setting to the previous supported level. |
static int |
UNKNOWN
Unknown value. |
Fields inherited from interface javax.microedition.amms.control.EffectControl |
---|
SCOPE_LIVE_AND_RECORD, SCOPE_LIVE_ONLY, SCOPE_RECORD_ONLY |
Method Summary | |
---|---|
int |
getColorTemp()
Gets the color temperature. |
int |
getMaxColorTemp()
Gets the maximum supported color temperature. |
int |
getMinColorTemp()
Gets the minimum supported color temperature. |
int |
getNumberOfSteps()
Tells how many steps the white balance has. |
int |
setColorTemp(int temp)
Sets the color temperature. |
Methods inherited from interface javax.microedition.amms.control.EffectControl |
---|
getPreset, getPresetNames, getScope, isEnabled, isEnforced, setEnabled, setEnforced, setPreset, setScope |
Field Detail |
---|
static final int AUTO
static final int NEXT
static final int PREVIOUS
static final int UNKNOWN
Method Detail |
---|
int setColorTemp(int temp)
temp
- the new color temperature in Kelvins or NEXT
for
the next larger (hotter) supported value or
PREVIOUS
for previous smaller (colder) supported value or AUTO to use automatic whitebalance adjustment
java.lang.IllegalArgumentException
- if the given value is not
[getMinColorTemp()
, getMaxColorTemp()
], PREVIOUS
, NEXT
, or AUTO
getColorTemp()
int getColorTemp()
UNKNOWN
or AUTO
setColorTemp(int)
int getMinColorTemp()
int getMaxColorTemp()
int getNumberOfSteps()
AUTO
is not counted
as a step.
|
JSR-234 1.1 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |