Class CameraBottomBar
-
- All Implemented Interfaces:
-
android.os.Parcelable
public final class CameraBottomBar implements Parcelable
Configuration of the bottom bar for the camera screen.
-
-
Field Summary
Fields Modifier and Type Field Description private BarButtonConfiguration
importButton
private BarButtonConfiguration
autoSnappingModeButton
private BarButtonConfiguration
manualSnappingModeButton
private ShutterButton
shutterButton
private BarButtonConfiguration
torchOnButton
private BarButtonConfiguration
torchOffButton
private PreviewButton
previewButton
-
Constructor Summary
Constructors Constructor Description CameraBottomBar(Map<String, Object> source)
CameraBottomBar(JSONObject json)
CameraBottomBar(BarButtonConfiguration importButton, BarButtonConfiguration autoSnappingModeButton, BarButtonConfiguration manualSnappingModeButton, ShutterButton shutterButton, BarButtonConfiguration torchOnButton, BarButtonConfiguration torchOffButton, PreviewButton previewButton)
-
Method Summary
Modifier and Type Method Description final BarButtonConfiguration
getImportButton()
Configuration of the 'import' button. final Unit
setImportButton(BarButtonConfiguration importButton)
Configuration of the 'import' button. final BarButtonConfiguration
getAutoSnappingModeButton()
Configuration of the 'auto snapping mode' button. final Unit
setAutoSnappingModeButton(BarButtonConfiguration autoSnappingModeButton)
Configuration of the 'auto snapping mode' button. final BarButtonConfiguration
getManualSnappingModeButton()
Configuration of the 'manual snapping mode' button. final Unit
setManualSnappingModeButton(BarButtonConfiguration manualSnappingModeButton)
Configuration of the 'manual snapping mode' button. final ShutterButton
getShutterButton()
Configuration of the 'shutter' button. final Unit
setShutterButton(ShutterButton shutterButton)
Configuration of the 'shutter' button. final BarButtonConfiguration
getTorchOnButton()
Configuration of the 'flashlight' button when in the 'on' state. final Unit
setTorchOnButton(BarButtonConfiguration torchOnButton)
Configuration of the 'flashlight' button when in the 'on' state. final BarButtonConfiguration
getTorchOffButton()
Configuration of the 'flashlight' button when in the 'off' state. final Unit
setTorchOffButton(BarButtonConfiguration torchOffButton)
Configuration of the 'flashlight' button when in the 'off' state. final PreviewButton
getPreviewButton()
Configuration of the 'preview' button. final Unit
setPreviewButton(PreviewButton previewButton)
Configuration of the 'preview' button. final JSONObject
toJson()
final static CameraBottomBar
default()
-
-
Constructor Detail
-
CameraBottomBar
CameraBottomBar(JSONObject json)
-
CameraBottomBar
CameraBottomBar(BarButtonConfiguration importButton, BarButtonConfiguration autoSnappingModeButton, BarButtonConfiguration manualSnappingModeButton, ShutterButton shutterButton, BarButtonConfiguration torchOnButton, BarButtonConfiguration torchOffButton, PreviewButton previewButton)
-
-
Method Detail
-
getImportButton
final BarButtonConfiguration getImportButton()
Configuration of the 'import' button.
-
setImportButton
final Unit setImportButton(BarButtonConfiguration importButton)
Configuration of the 'import' button.
-
getAutoSnappingModeButton
final BarButtonConfiguration getAutoSnappingModeButton()
Configuration of the 'auto snapping mode' button.
-
setAutoSnappingModeButton
final Unit setAutoSnappingModeButton(BarButtonConfiguration autoSnappingModeButton)
Configuration of the 'auto snapping mode' button.
-
getManualSnappingModeButton
final BarButtonConfiguration getManualSnappingModeButton()
Configuration of the 'manual snapping mode' button.
-
setManualSnappingModeButton
final Unit setManualSnappingModeButton(BarButtonConfiguration manualSnappingModeButton)
Configuration of the 'manual snapping mode' button.
-
getShutterButton
final ShutterButton getShutterButton()
Configuration of the 'shutter' button.
-
setShutterButton
final Unit setShutterButton(ShutterButton shutterButton)
Configuration of the 'shutter' button.
-
getTorchOnButton
final BarButtonConfiguration getTorchOnButton()
Configuration of the 'flashlight' button when in the 'on' state.
-
setTorchOnButton
final Unit setTorchOnButton(BarButtonConfiguration torchOnButton)
Configuration of the 'flashlight' button when in the 'on' state.
-
getTorchOffButton
final BarButtonConfiguration getTorchOffButton()
Configuration of the 'flashlight' button when in the 'off' state.
-
setTorchOffButton
final Unit setTorchOffButton(BarButtonConfiguration torchOffButton)
Configuration of the 'flashlight' button when in the 'off' state.
-
getPreviewButton
final PreviewButton getPreviewButton()
Configuration of the 'preview' button.
-
setPreviewButton
final Unit setPreviewButton(PreviewButton previewButton)
Configuration of the 'preview' button.
-
toJson
final JSONObject toJson()
-
default
final static CameraBottomBar default()
-
-
-
-