FlutterDataWedge class
Constructors
- FlutterDataWedge({required String profileName})
- Create a new instance of FlutterDataWedge profileName is the name of the profile which will be created
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
onScannerEvent
→ Stream<
ActionResult> -
Subscribe to a stream of
EventName
sno setter -
onScannerStatus
→ Stream<
ScannerStatus> -
Subscribe to a stream of
ScannerStatus
sno setter -
onScanResult
→ Stream<
ScanResult> -
Subscribe to a stream of
ScanResult
sno setter - profileName → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
activateScanner(
bool activate, {String? commandIdentifier}) → Future< Result< void, FlutterDatawedgeException> > - Enable or Disable the scanner temporarily Way quicker then enableScanner but can only be called when ScannerStatus in SCANNING or WAITING state Use onScannerStatus to listen to the current state see also: enableScanner Zebra API Doc: https://zebra-techdocs-archive.netlify.app/datawedge/11-3/guide/api/scannerinputplugin/
-
enableScanner(
bool enable, {String? commandIdentifier}) → Future< Result< void, FlutterDatawedgeException> > - Enable or Disable the scanner temporarily Can be called anytime, but slower than activateScanner see also: activateScanner Zebra API Doc: https://zebra-techdocs-archive.netlify.app/datawedge/11-3/guide/api/scannerinputplugin/
-
initialize(
{String? commandIdentifier}) → Future< void> - Initialize the plugin This will create a new profile with the given profileName and enable onScannerStatus stream
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
platformVersion(
) → Future< String?> - Returns the version of the Android OS example: Android 4.4, Android 10 see also: https://developer.android.com/reference/android/os/Build.VERSION#RELEASE
-
scannerControl(
bool activate, {String? commandIdentifier}) → Future< Result< void, FlutterDatawedgeException> > - Manually trigger scanning or stop scanning activate: true to trigger scanner, false to stop Zebra API Doc: https://zebra-techdocs-archive.netlify.app/datawedge/11-3/guide/api/softscantrigger/
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited