public static class CameraCapabilities.Stringifier extends Object
Constructor and Description |
---|
Stringifier() |
Modifier and Type | Method and Description |
---|---|
CameraCapabilities.FlashMode |
flashModeFromString(String val)
Converts the API-related string representation of the flash mode to the
abstract representation.
|
CameraCapabilities.FocusMode |
focusModeFromString(String val)
Converts the API-related string representation of the focus mode to the
abstract representation.
|
CameraCapabilities.SceneMode |
sceneModeFromString(String val)
Converts the API-related string representation of the scene mode to the
abstract representation.
|
String |
stringify(CameraCapabilities.FlashMode flash)
Converts the flash mode to API-related string representation.
|
String |
stringify(CameraCapabilities.FocusMode focus)
Converts the focus mode to API-related string representation.
|
String |
stringify(CameraCapabilities.SceneMode scene)
Converts the scene mode to API-related string representation.
|
String |
stringify(CameraCapabilities.WhiteBalance wb)
Converts the white balance to API-related string representation.
|
CameraCapabilities.WhiteBalance |
whiteBalanceFromString(String val)
Converts the API-related string representation of the white balance to
the abstract representation.
|
public String stringify(CameraCapabilities.FocusMode focus)
focus
- The focus mode to convert.public CameraCapabilities.FocusMode focusModeFromString(String val)
val
- The string representation.public String stringify(CameraCapabilities.FlashMode flash)
flash
- The focus mode to convert.public CameraCapabilities.FlashMode flashModeFromString(String val)
val
- The string representation.public String stringify(CameraCapabilities.SceneMode scene)
scene
- The focus mode to convert.public CameraCapabilities.SceneMode sceneModeFromString(String val)
val
- The string representation.public String stringify(CameraCapabilities.WhiteBalance wb)
wb
- The focus mode to convert.public CameraCapabilities.WhiteBalance whiteBalanceFromString(String val)
val
- The string representation.