Package io.anyline.plugin.config
Class FlashConfig
-
- All Implemented Interfaces:
public class FlashConfig
Schema for SDK Flash Configuration
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enum
FlashConfig.Alignment
The alignment of the flash button.
public enum
FlashConfig.Mode
The flash mode.
-
Constructor Summary
Constructors Constructor Description FlashConfig()
-
Method Summary
Modifier and Type Method Description FlashConfig.Mode
getMode()
The flash mode. void
setMode(FlashConfig.Mode mode)
The flash mode. FlashConfig.Alignment
getAlignment()
The alignment of the flash button. void
setAlignment(FlashConfig.Alignment alignment)
The alignment of the flash button. Offset
getOffset()
An optional offset (in dp) for the elements. void
setOffset(Offset offset)
An optional offset (in dp) for the elements. String
getImageOn()
The asset name of the icon to be displayed when the flash is on. void
setImageOn(String imageOn)
The asset name of the icon to be displayed when the flash is on. String
getImageOff()
The asset name of the icon to be displayed when the flash is off. void
setImageOff(String imageOff)
The asset name of the icon to be displayed when the flash is off. String
getImageAuto()
The asset name of the icon to be displayed when the flash is set to auto. void
setImageAuto(String imageAuto)
The asset name of the icon to be displayed when the flash is set to auto. String
toString()
int
hashCode()
boolean
equals(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()
-
-
-
-