MethodChannelLaserScanner class

An implementation of LaserScannerPlatform that uses method channels.

Inheritance

Constructors

MethodChannelLaserScanner()

Properties

hashCode int
The hash code for this object.
no setterinherited
methodChannel MethodChannel
The method channel used to interact with the native platform.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

closeScanner() Future<bool>
Closes the barcode scanner and returns the closing status.
override
enableSymbology({required SymbologyModel symbology}) Future<bool>
Enables a specific barcode symbology.
override
enableVibrate() Future<void>
Enables vibration.
override
getlockTriggerState() Future<bool?>
Gets the state of the trigger lock mechanism.
override
getPlatformVersion() Future<String?>
inherited
getScanOutputMode() Future<ScanOutputMode>
Gets the output mode of the scanning process.
override
getTriggerMode() Future<Triggering?>
Gets the current triggering mode of the scanner.
override
isSupport() Future<bool?>
Check device support
override
isTurnOn() Future<bool>
Checks if the scanner is currently turned on.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onListenerResultScanner({required dynamic onListenerResultScanner(ScanResultModel? value)}) Future<StreamSubscription>
Sets up a listener to receive scanning results.
override
openScanner({bool? captureImageShow = false}) Future<void>
Opens the barcode scanner for scanning. captureImageShowcaptureImageShow Returns a Future that completes when the scanner is opened.
override
setlockTriggerState({required bool state}) Future<void>
Sets the state of the trigger lock mechanism.
override
setScanOutputMode({required ScanOutputMode scanOutputMode}) Future<void>
Sets the output mode for the scanning process.
override
setTrigger({required Triggering triggering}) Future<void>
Sets the triggering mode for the scanner.
override
startDecode() Future<void>
start decode
override
stopDecode() Future<void>
stop decode
override
toString() String
A string representation of this object.
inherited
unVibrate() Future<void>
Turns off vibration.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited