|
|||||||||
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
- @return the value that was actually set in Kelvins or AUTO if in the automatic whitebalance adjustment mode
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
IllegalArgumentException
- if the given value is not
[getMinColorTemp()
, getMaxColorTemp()
], PREVIOUS
, NEXT
, or AUTO
int getColorTemp()
UNKNOWN
or AUTO
int getMinColorTemp()
int getMaxColorTemp()
int getNumberOfSteps()
AUTO
is not counted
as a step.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 1999-2011 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Java is a trademark of Oracle America Inc. in the US and other countries.
Legal