Package io.anyline.plugin.config
Class FlashConfig
-
- All Implemented Interfaces:
public class FlashConfigSchema 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 optional offset (in dp) for the elements. voidsetOffset(Offset offset)An optional offset (in dp) for the elements. 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.
-
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()
-
-
-
-