Class Sheet
-
- All Implemented Interfaces:
-
android.os.Parcelable
public final class Sheet implements Parcelable
Configuration of the preview mode for scanning multiple barcodes.
-
-
Field Summary
Fields Modifier and Type Field Description private SheetMode
mode
private CollapsedVisibleHeight
collapsedVisibleHeight
private BadgedButton
listButton
-
Constructor Summary
Constructors Constructor Description Sheet(Map<String, Object> source)
Sheet(JSONObject json)
Sheet(SheetMode mode, CollapsedVisibleHeight collapsedVisibleHeight, BadgedButton listButton)
-
Method Summary
Modifier and Type Method Description final SheetMode
getMode()
Mode used for the preview for scanning multiple barcodes. final Unit
setMode(SheetMode mode)
Mode used for the preview for scanning multiple barcodes. final CollapsedVisibleHeight
getCollapsedVisibleHeight()
Height of the collapsed result sheet. final Unit
setCollapsedVisibleHeight(CollapsedVisibleHeight collapsedVisibleHeight)
Height of the collapsed result sheet. final BadgedButton
getListButton()
Configuration of the list button. final Unit
setListButton(BadgedButton listButton)
Configuration of the list button. final JSONObject
toJson()
final static Sheet
default()
-
-
Constructor Detail
-
Sheet
Sheet(JSONObject json)
-
Sheet
Sheet(SheetMode mode, CollapsedVisibleHeight collapsedVisibleHeight, BadgedButton listButton)
-
-
Method Detail
-
getMode
final SheetMode getMode()
Mode used for the preview for scanning multiple barcodes. Default is COLLAPSED_SHEET
-
setMode
final Unit setMode(SheetMode mode)
Mode used for the preview for scanning multiple barcodes. Default is COLLAPSED_SHEET
-
getCollapsedVisibleHeight
final CollapsedVisibleHeight getCollapsedVisibleHeight()
Height of the collapsed result sheet. Default is SMALL
-
setCollapsedVisibleHeight
final Unit setCollapsedVisibleHeight(CollapsedVisibleHeight collapsedVisibleHeight)
Height of the collapsed result sheet. Default is SMALL
-
getListButton
final BadgedButton getListButton()
Configuration of the list button.
-
setListButton
final Unit setListButton(BadgedButton listButton)
Configuration of the list button.
-
toJson
final JSONObject toJson()
-
-
-
-