Package io.scanbot.sdk.ui_v2.common
Class ActionBarConfiguration
-
- All Implemented Interfaces:
-
android.os.Parcelable
public final class ActionBarConfiguration implements Parcelable
Configuration of the buttons available in the action bar.
-
-
Field Summary
Fields Modifier and Type Field Description private RoundButton
flashButton
private RoundButton
zoomButton
private RoundButton
flipCameraButton
-
Constructor Summary
Constructors Constructor Description ActionBarConfiguration(Map<String, Object> json)
ActionBarConfiguration()
ActionBarConfiguration(RoundButton flashButton, RoundButton zoomButton, RoundButton flipCameraButton)
-
Method Summary
Modifier and Type Method Description final RoundButton
getFlashButton()
Appearance of the flash button. final Unit
setFlashButton(RoundButton flashButton)
Appearance of the flash button. final RoundButton
getZoomButton()
Appearance of the zoom button. final Unit
setZoomButton(RoundButton zoomButton)
Appearance of the zoom button. final RoundButton
getFlipCameraButton()
Aappearance of the flip camera button. final Unit
setFlipCameraButton(RoundButton flipCameraButton)
Aappearance of the flip camera button. -
-
Constructor Detail
-
ActionBarConfiguration
ActionBarConfiguration()
-
ActionBarConfiguration
ActionBarConfiguration(RoundButton flashButton, RoundButton zoomButton, RoundButton flipCameraButton)
-
-
Method Detail
-
getFlashButton
final RoundButton getFlashButton()
Appearance of the flash button.
-
setFlashButton
final Unit setFlashButton(RoundButton flashButton)
Appearance of the flash button.
-
getZoomButton
final RoundButton getZoomButton()
Appearance of the zoom button.
-
setZoomButton
final Unit setZoomButton(RoundButton zoomButton)
Appearance of the zoom button.
-
getFlipCameraButton
final RoundButton getFlipCameraButton()
Aappearance of the flip camera button.
-
setFlipCameraButton
final Unit setFlipCameraButton(RoundButton flipCameraButton)
Aappearance of the flip camera button.
-
-
-
-