scanbot-web-sdk
Version:
Scanbot Web Document and Barcode Scanner SDK
46 lines (45 loc) • 1.76 kB
TypeScript
import { DeepPartial, PartiallyConstructible } from "../utils";
import { RoundButton } from "../common/Common";
/**
Configuration of the buttons available in the action bar.
*/
export declare class ActionBarConfiguration extends PartiallyConstructible {
/**
Configuration of the 'flash' button.
@defaultValue new RoundButton({
"visible": true,
"accessibilityDescription": "?accessibilityDescriptionFlashButton",
"backgroundColor": "?sbColorSurfaceHigh",
"foregroundColor": "?sbColorOnPrimary",
"activeBackgroundColor": "?sbColorWarning",
"activeForegroundColor": "#1C1B1F"
});
*/
flashButton: RoundButton;
/**
Configuration of the 'zoom' button.
@defaultValue new RoundButton({
"visible": true,
"accessibilityDescription": "?accessibilityDescriptionZoomButton",
"backgroundColor": "?sbColorSurfaceHigh",
"foregroundColor": "?sbColorOnPrimary",
"activeBackgroundColor": "?sbColorSurfaceHigh",
"activeForegroundColor": "?sbColorOnPrimary"
});
*/
zoomButton: RoundButton;
/**
Configuration of the 'flip camera' button.
@defaultValue new RoundButton({
"visible": true,
"accessibilityDescription": "?accessibilityDescriptionFlipCameraButton",
"backgroundColor": "?sbColorSurfaceHigh",
"foregroundColor": "?sbColorOnPrimary",
"activeBackgroundColor": "?sbColorWarning",
"activeForegroundColor": "#1C1B1F"
});
*/
flipCameraButton: RoundButton;
/** @param source {@displayType `DeepPartial<ActionBarConfiguration>`} */
constructor(source?: DeepPartial<ActionBarConfiguration>);
}