MethodChannelCaptureFlutter class
An implementation of CaptureFlutterPlatform that uses method channels.
MethodChannelCaptureFlutter exposes the appropriate native Capture module as a Flutter/Dart module, based on the detected platform: Android or iOS.
The method channel contains the function scanWithCamera
which enables the Capture process with the default Analyzer & UX properties.
- Inheritance
-
- Object
- PlatformInterface
- CaptureFlutterPlatform
- MethodChannelCaptureFlutter
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
scanWithCamera(
CaptureSettings captureSettings, String license) → Future< AnalyzerResult?> -
The
scanWithCamera
platform channel method launches the Capture process with the default Analyzer & UX properties. It takes the following two parameters: CaptureSettings and a base64 license keyString
.override -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- ARG_CAPTURE_SETTINGS → const String
- ARG_LICENSE → const String
- ARG_LICENSE_KEY → const String
- ARG_LICENSEE → const String
- METHOD_SCAN_WITH_CAMERA → const String
- methodChannel → const MethodChannel
- The method channel used to interact with the native platform.