ScanProfile class
- Annotations
-
- @Deprecated('This is for backwards compatibility, use [ProfileModel] instead')
Constructors
-
ScanProfile.new({required String profileName, String configMode = ProfileCreateType.createIfNotExist, bool disableKeystroke = false, BarcodePlugin? barcodePlugin, List<
String> packageNames = const [], Map<String, dynamic> ? optionalMap, String? profileIntentAction = ScanCommands.profileIntentAction}) -
profileName
is the name for the package that will be visible in the profile list on the device.packageNames
inside the ScanProfile is optional and if omitted the packageName for this host application will be used witch is mostly what you want.profileIntentAction
is the intent action that will be used when sending the scan result to the host application. This should only be used if you use this package only to create profile. When changing this value the scans will not be triggered on this package.
Properties
- barcodePlugin → BarcodePlugin?
-
final
- configMode → String
-
final
- disableKeystroke → bool
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
optionalMap
→ Map<
String, dynamic> ? -
final
-
packageNames
→ List<
String> -
final
- profileIntentAction → String?
-
final
- profileName → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
toMap
→ Map<
String, dynamic> -
no setter
Methods
-
getProfile(
Map< String, dynamic> child, {String childKeyName = 'PLUGIN_CONFIG'}) → Map<String, dynamic> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
sendCommands(
ScanwedgeChannel scanWedge) → Future< bool> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited