|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface FeatureControl
The FeatureControl interface allows you to access the camera-related features for camera-based
applications, but not access the camera hardware directly.
| Field Summary | ||
|---|---|---|
static String |
SCENE_MODE_AUTO
Scene Mode Type: Automatic. |
|
static String |
SCENE_MODE_BEACH
Scene Mode Type: Beach. |
|
static String |
SCENE_MODE_FACEDETECTION
Scene Mode Type: Face Detection. |
|
static String |
SCENE_MODE_LANDSCAPE
Scene Mode Type: Landscape. |
|
static String |
SCENE_MODE_MACRO
Scene Mode Type: Macro. |
|
static String |
SCENE_MODE_NIGHT
Scene Mode Type: Night. |
|
static String |
SCENE_MODE_PARTY
Scene Mode Type: Party. |
|
static String |
SCENE_MODE_PORTRAIT
Scene Mode Type: Portrait. |
|
static String |
SCENE_MODE_SNOW
Scene Mode Type: Snow. |
|
static String |
SCENE_MODE_SPORT
Scene Mode Type: Sport. |
|
static String |
SCENE_MODE_TEXT
Scene Mode Type: Text. |
|
| Method Summary | ||
|---|---|---|
String |
getCurrentSceneMode()
Retrieves the currently set scene mode on the device. |
|
boolean |
isSceneModeSupported(String modeID)
Checks if the device supports the specified scene mode. |
|
void |
setSceneMode(String modeID)
Enables the input Scene Mode specified by the modeID parameter. |
|
| Field Detail |
|---|
static final String SCENE_MODE_AUTO
static final String SCENE_MODE_FACEDETECTION
static final String SCENE_MODE_PORTRAIT
static final String SCENE_MODE_SPORT
static final String SCENE_MODE_LANDSCAPE
static final String SCENE_MODE_PARTY
static final String SCENE_MODE_MACRO
static final String SCENE_MODE_SNOW
static final String SCENE_MODE_BEACH
static final String SCENE_MODE_NIGHT
static final String SCENE_MODE_TEXT
| Method Detail |
|---|
void setSceneMode(String modeID)
modeID parameter.
The modeID parameter can be any of the defined scene mode constants. When setting a scene mode, first check
that the specified scene mode is available using isSceneModeSupported(String modeID) first.
If you attempt to set an unavailable scene mode, this method does nothing.
Setting a particular scene mode may modify other camera settings such as flash settings.
modeID - The scene mode to enable.String getCurrentSceneMode()
boolean isSceneModeSupported(String modeID)
modeID - The scene mode to check for availability.
true if the scene mode is available on the device, false otherwise.
|
|||||||||
| 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