Optional
source: DeepPartial<ReviewScreenConfiguration>The background color of the review screen.
"?sbColorOnSurfaceVariant";
Configuration of the bottom bar for the review screen.
new ReviewBottomBarConfiguration({});
Configuration of the alert dialog displayed when trying to delete all the pages.
new ScanbotAlertDialog({
"title": new StyledText({
"text": "?reviewDeleteAllPagesAlertTitle",
"color": "?sbColorOnSurface"
}),
"subtitle": new StyledText({
"text": "?reviewDeleteAllPagesAlertSubtitle",
"color": "?sbColorOnSurfaceVariant"
}),
"okButton": new ButtonConfiguration({
"text": "?reviewDeleteAllPagesAlertDeleteButtonTitle",
"accessibilityDescription": "?accessibilityDescriptionReviewDeleteAllPagesAlertDeleteButton",
"background": new BackgroundStyle({
"fillColor": "?sbColorPrimary",
"strokeWidth": 0.0
}),
"foreground": new ForegroundStyle({
"color": "?sbColorOnPrimary"
})
}),
"actionButton": new ButtonConfiguration({
"visible": false
}),
"cancelButton": new ButtonConfiguration({
"text": "?reviewDeleteAllPagesAlertCancelButtonTitle",
"accessibilityDescription": "?accessibilityDescriptionReviewDeleteAllPagesAlertCancelButton",
"background": new BackgroundStyle({
"fillColor": "#00000000",
"strokeWidth": 0.0
}),
"foreground": new ForegroundStyle({
"color": "?sbColorPrimary"
})
})
});
Configuration of the alert dialog displayed when trying to delete a single page.
new ScanbotAlertDialog({
"title": new StyledText({
"text": "?reviewDeletePageAlertTitle",
"color": "?sbColorOnSurface"
}),
"subtitle": new StyledText({
"text": "?reviewDeletePageAlertSubTitle",
"color": "?sbColorOnSurfaceVariant"
}),
"okButton": new ButtonConfiguration({
"text": "?reviewDeletePageAlertConfirmButtonTitle",
"accessibilityDescription": "?accessibilityDescriptionReviewDeletePageAlertConfirmButton",
"background": new BackgroundStyle({
"fillColor": "?sbColorPrimary",
"strokeWidth": 0.0
}),
"foreground": new ForegroundStyle({
"color": "?sbColorOnPrimary"
})
}),
"actionButton": new ButtonConfiguration({
"text": "?reviewDeletePageAlertDeleteRetakeButtonTitle",
"accessibilityDescription": "?accessibilityDescriptionReviewDeletePageAlertDeleteRetakeButton",
"background": new BackgroundStyle({
"fillColor": "#00000000",
"strokeWidth": 0.0
}),
"foreground": new ForegroundStyle({
"color": "?sbColorPrimary"
})
}),
"cancelButton": new ButtonConfiguration({
"text": "?reviewDeletePageAlertCancelButtonTitle",
"accessibilityDescription": "?accessibilityDescriptionReviewDeletePageAlertCancelButton",
"background": new BackgroundStyle({
"fillColor": "#00000000",
"strokeWidth": 0.0
}),
"foreground": new ForegroundStyle({
"color": "?sbColorPrimary"
})
})
});
Determines whether the review screen should be shown or not. If 'false', the review screen will be skipped and the scanned document will be returned immediately.
true;
Configuration of the 'more' popup menu for the review screen.
new ReviewMorePopupMenu({});
Configuration of the page count label.
new UserGuidanceConfiguration({
"title": new StyledText({
"text": "?reviewScreenPageCount",
"color": "?sbColorOnPrimary"
}),
"background": new BackgroundStyle({
"fillColor": "?sbColorSurfaceHigh",
"strokeWidth": 0.0
})
});
Configuration of the 'next page' button.
new IconButton({
"color": "?sbColorOnPrimary",
"accessibilityDescription": "?accessibilityDescriptionReviewNextPageButton"
});
Configuration of the 'previous page' button.
new IconButton({
"color": "?sbColorOnPrimary",
"accessibilityDescription": "?accessibilityDescriptionReviewPreviousPageButton"
});
Configuration of the 'back' button, located in the top bar.
new ButtonConfiguration({
"visible": true,
"text": "?reviewTopBarBackButtonTitle",
"accessibilityDescription": "?accessibilityDescriptionReviewTopBarBackButton",
"background": new BackgroundStyle({
"strokeColor": "#00000000",
"fillColor": "#00000000",
"strokeWidth": 0.0
}),
"foreground": new ForegroundStyle({
"iconVisible": true,
"color": "?sbColorOnPrimary",
"useShadow": false
})
});
Configuration of the 'more' button, located in the top bar.
new IconButton({
"color": "?sbColorOnPrimary",
"accessibilityDescription": "?accessibilityDescriptionReviewMoreButton"
});
Configuration of the title, located in the top bar.
new StyledText({
"text": "?reviewScreenTitle",
"color": "?sbColorOnPrimary"
});
Configuration of the 'zoom' button.
new RoundButton({
"accessibilityDescription": "?accessibilityDescriptionReviewZoomButton",
"backgroundColor": "?sbColorSurfaceHigh",
"foregroundColor": "?sbColorOnPrimary"
});
Configuration of the zoom overlay for the review screen.
new ZoomOverlay({});
Generated using TypeDoc
Configuration of the screen for reviewing the scanned pages.