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 BarButtonConfigurationimportButtonprivate BarButtonConfigurationautoSnappingModeButtonprivate BarButtonConfigurationmanualSnappingModeButtonprivate ShutterButtonshutterButtonprivate BarButtonConfigurationtorchOnButtonprivate BarButtonConfigurationtorchOffButtonprivate PreviewButtonpreviewButton
-
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 BarButtonConfigurationgetImportButton()Configuration of the 'import' button. final UnitsetImportButton(BarButtonConfiguration importButton)Configuration of the 'import' button. final BarButtonConfigurationgetAutoSnappingModeButton()Configuration of the 'auto snapping mode' button. final UnitsetAutoSnappingModeButton(BarButtonConfiguration autoSnappingModeButton)Configuration of the 'auto snapping mode' button. final BarButtonConfigurationgetManualSnappingModeButton()Configuration of the 'manual snapping mode' button. final UnitsetManualSnappingModeButton(BarButtonConfiguration manualSnappingModeButton)Configuration of the 'manual snapping mode' button. final ShutterButtongetShutterButton()Configuration of the 'shutter' button. final UnitsetShutterButton(ShutterButton shutterButton)Configuration of the 'shutter' button. final BarButtonConfigurationgetTorchOnButton()Configuration of the 'flashlight' button when in the 'on' state. final UnitsetTorchOnButton(BarButtonConfiguration torchOnButton)Configuration of the 'flashlight' button when in the 'on' state. final BarButtonConfigurationgetTorchOffButton()Configuration of the 'flashlight' button when in the 'off' state. final UnitsetTorchOffButton(BarButtonConfiguration torchOffButton)Configuration of the 'flashlight' button when in the 'off' state. final PreviewButtongetPreviewButton()Configuration of the 'preview' button. final UnitsetPreviewButton(PreviewButton previewButton)Configuration of the 'preview' button. final JSONObjecttoJson(ToJsonConfiguration config)final CameraBottomBarclone()final static CameraBottomBardefault()-
-
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(ToJsonConfiguration config)
-
clone
final CameraBottomBar clone()
-
default
final static CameraBottomBar default()
-
-
-
-