MethodChannelBlinkidFlutter class
An implementation of BlinkidFlutterPlatform that uses method channels.
MethodChannelCaptureFlutter exposes the appropriate native BlinkID module as a Flutter/Dart module, based on the detected platform: Android or iOS.
The method channel contains the functions performScan and performDirectApiScan which enable the BlinkID scanning process, with the default UX properties, and with static images.
- Inheritance
-
- Object
- PlatformInterface
- BlinkidFlutterPlatform
- MethodChannelBlinkidFlutter
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- methodChannel → MethodChannel
-
The method channel is used to interact with the native platform.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
loadBlinkIdSdk(
BlinkIdSdkSettings blinkidSdkSettings) → Future< void> -
The
loadBlinkIdSdkplatform channel method creates or retrieves the instance of the BlinkID SDK.override -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
performDirectApiScan(
BlinkIdSdkSettings blinkidSdkSettings, BlinkIdSessionSettings blinkidSessionSettings, String firstImage, [String? secondImage]) → Future< BlinkIdScanningResult?> -
The
performDirectApiScanplatform channel method launches the BlinkID scanning process inteded for information extraction from static images. It takes the following parameters: BlinkIdSdkSettings, BlinkIdSessionSettings,firstImageString in the Base64 format and the optionalsecondImageString in the Base64 format.override -
performScan(
BlinkIdSdkSettings blinkidSdkSettings, BlinkIdSessionSettings blinkidSessionSettings, [BlinkIdScanningUxSettings? blinkIdScanningUxSettings, ClassFilter? classFilter]) → Future< BlinkIdScanningResult?> -
The
performScanplatform channel method launches the BlinkID scanning process with the default UX properties. It takes the following parameters: BlinkIdSdkSettings, BlinkIdSessionSettings and the optional ClassFilter class.override -
toString(
) → String -
A string representation of this object.
inherited
-
unloadBlinkIdSdk(
{bool deleteCachedResources = false}) → Future< void> -
The
unloadBlinkIdSdkplatform channel method terminates the BlinkID SDK and releases all associated resources.override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- ARG_BLINKID_SDK_SETTINGS → const String
- ARG_CLASS_FILTER → const String
- ARG_DELETE_CACHED_RESOURCES → const String
- ARG_FIRST_IMAGE → const String
- ARG_LOAD_BLINKID_SDK → const String
- ARG_SCAN_DIRECT_API_METHOD → const String
- ARG_SCAN_METHOD → const String
- ARG_SECOND_IMAGE → const String
- ARG_SESSION_SETTINGS → const String
- ARG_UNLOAD_BLINKID_SDK → const String
- ARG_UX_SETTINGS → const String