Class FlashConfig
-
- All Implemented Interfaces:
-
java.io.Serializable
public class FlashConfig implements Serializable
Schema for SDK Flash Configuration
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enumFlashConfig.AlignmentThe alignment of the flash button.
public enumFlashConfig.ModeThe flash mode.
-
Constructor Summary
Constructors Constructor Description FlashConfig()
-
Method Summary
Modifier and Type Method Description FlashConfig.ModegetMode()The flash mode. voidsetMode(FlashConfig.Mode mode)The flash mode. FlashConfig.AlignmentgetAlignment()The alignment of the flash button. voidsetAlignment(FlashConfig.Alignment alignment)The alignment of the flash button. OffsetgetOffset()An x/y integer value pair. voidsetOffset(Offset offset)An x/y integer value pair. StringgetImageOn()The asset name of the icon to be displayed when the flash is on. voidsetImageOn(String imageOn)The asset name of the icon to be displayed when the flash is on. StringgetImageOff()The asset name of the icon to be displayed when the flash is off. voidsetImageOff(String imageOff)The asset name of the icon to be displayed when the flash is off. StringgetImageAuto()The asset name of the icon to be displayed when the flash is set to auto. voidsetImageAuto(String imageAuto)The asset name of the icon to be displayed when the flash is set to auto. StringtoString()inthashCode()booleanequals(Object other)-
-
Method Detail
-
getMode
FlashConfig.Mode getMode()
The flash mode.
-
setMode
void setMode(FlashConfig.Mode mode)
The flash mode.
-
getAlignment
FlashConfig.Alignment getAlignment()
The alignment of the flash button.
-
setAlignment
void setAlignment(FlashConfig.Alignment alignment)
The alignment of the flash button.
-
getOffset
Offset getOffset()
An x/y integer value pair. The unit (dp or camera pixels) depends on the property that references this definition.
-
setOffset
void setOffset(Offset offset)
An x/y integer value pair. The unit (dp or camera pixels) depends on the property that references this definition.
-
getImageOn
String getImageOn()
The asset name of the icon to be displayed when the flash is on.
-
setImageOn
void setImageOn(String imageOn)
The asset name of the icon to be displayed when the flash is on.
-
getImageOff
String getImageOff()
The asset name of the icon to be displayed when the flash is off.
-
setImageOff
void setImageOff(String imageOff)
The asset name of the icon to be displayed when the flash is off.
-
getImageAuto
String getImageAuto()
The asset name of the icon to be displayed when the flash is set to auto.
-
setImageAuto
void setImageAuto(String imageAuto)
The asset name of the icon to be displayed when the flash is set to auto.
-
hashCode
int hashCode()
-
-
-
-