QuickcaptureWeb class
Web implementation of QuickcapturePlatform.
- Inheritance
-
- Object
- PlatformInterface
- QuickcapturePlatform
- QuickcaptureWeb
Constructors
- QuickcaptureWeb({@visibleForTesting String? sdkBaseUrl})
-
Creates the web implementation.
sdkBaseUrloverrides where the SDK files are loaded from (tests only; apps use the bundled assets).
Properties
-
deviceThreatEvents
→ Stream<
Map< String, dynamic> > -
Never emits: device monitoring is not available on web.
no setteroverride
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
activateLicense(
{String? android, String? ios, String? web}) → Future< bool?> -
Applies the web license. The web SDK takes its license once, when it is
first initialised, so call this before any imaging call; afterwards a
different license cannot be applied until the page reloads.
override
-
appendToTiff(
String imagePath, String targetTiffPath) → Future< String?> -
override
-
assetCapture(
) → Future< String?> -
override
-
buildBlackAndWhiteTiff(
String imagePath) → Future< String?> -
override
-
buildPDF(
List< String> imagePaths) → Future<String?> -
override
-
buildPDFForLastCapture(
) → Future< String?> -
override
-
buildTiff(
List< String> imagePaths) → Future<String?> -
override
-
buildTIFFForLastCapture(
) → Future< String?> -
override
-
compressToJPEG(
String imagePath) → Future< String?> -
override
-
compressToJPEGPages(
List< String> imagePaths) → Future<List< String> > -
override
-
compressToJPEGStream(
List< String> imagePaths) → Stream<Map< String, dynamic> > -
The SDK's per-page
totalandprogressfields are not reliable in SDK 7.0.3 (totalcounts input files, not pages), so only the page index and name are passed on.override -
detectHumanFaces(
String imagePath) → Future< String?> -
override
-
disableScreenProtection(
) → Future< void> -
override
-
enableScreenProtection(
) → Future< void> -
override
-
generateBARCode(
String data, bool includeText) → Future< String?> -
override
-
generateQRCode(
String data) → Future< String?> -
override
-
getCurrentDigiPin(
) → Future< String?> -
override
-
getDeviceInfo(
) → Future< String?> -
override
-
getDeviceSecurityInfo(
) → Future< String?> -
override
-
getLocationInfo(
) → Future< String?> -
override
-
getPlatformVersion(
) → Future< String?> -
override
-
getSdkInfo(
) → Future< String?> -
override
-
humanFaceCapture(
) → Future< String?> -
override
-
initHumanFaceHelper(
) → Future< bool> -
override
-
initialize(
{Map< String, dynamic> ? config}) → Future<String?> -
override
-
matchHumanFaces(
{required int firstDocumentID, required int firstDocumentFaceIndex, required int secondDocumentID, required int secondDocumentFaceIndex}) → Future< String?> -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
readImageInfo(
String imagePath) → Future< String?> -
override
-
setConfig(
{Map< String, dynamic> ? config}) → Future<bool?> -
override
-
setCustomLayout(
int customWidth, int customHeight) → Future< bool?> -
override
-
setOutputFilter(
String filter) → Future< bool?> -
override
-
signatureCapture(
) → Future< String?> -
override
-
startCapture(
) → Future< String?> -
override
-
startDeviceMonitoring(
) → Future< void> -
override
-
startImageAttach(
String imagePath) → Future< String?> -
override
-
startOpticalCodeCapture(
) → Future< String?> -
override
-
stopDeviceMonitoring(
) → Future< void> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
registerWith(
Registrar registrar) → void - Registers this class as the platform implementation on web.