AnylineInfinityPlugin class
Entrypoint for the Anyline Infinity scanning API.
Exposes a typed, schema-driven interface that mirrors WrapperSessionProvider directly. JSON serialization/deserialization is handled in this Dart layer; the native bridge only passes raw JSON strings.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
onScanResults
→ Stream<
WrapperSessionScanResultsResponse> -
Emits one result per detected item during the active scan session (0..N).
no setter
-
onUIElementClicked
→ Stream<
UiFeedbackElementConfig> -
Emits when the user taps a UI feedback element during scanning (0..N).
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
dispose(
) → void - Releases stream resources. Call when the plugin instance is no longer needed.
-
getPluginVersion(
) → Future< String> - Returns the plugin version string.
-
getSDKVersion(
) → Future< String?> - Returns the native SDK version string.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
requestExportCachedEvents(
) → Future< WrapperSessionExportCachedEventsResponse> - Exports all cached scan events as a ZIP archive.
-
requestScanStart(
WrapperSessionScanStartRequest request) → Future< WrapperSessionScanResponse> - Starts a scanning session.
-
requestScanStop(
[WrapperSessionScanStopRequest? request]) → Future< void> - Stops the active scanning session.
-
requestScanSwitchWithScanStartRequestParams(
WrapperSessionScanStartRequest request) → Future< void> - Switches to a new scan mode using the provided scan-start request.
-
requestScanSwitchWithScanViewConfigContentString(
String scanViewConfigContentString) → Future< void> - Switches to a new scan mode using a raw ScanViewConfig JSON string.
-
requestSdkInitialization(
WrapperSessionSdkInitializationRequest request) → Future< WrapperSessionSdkInitializationResponse> - Initializes the Anyline SDK with the supplied request parameters.
-
requestUCRReport(
WrapperSessionUcrReportRequest request) → Future< WrapperSessionUcrReportResponse> - Submits a User Corrected Result (UCR) report.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited