Toggle navigation
Toggle navigation
This project
Loading...
Sign in
flutter_package
/
mobile_scanner
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
Navaron Bracke
2023-11-08 13:13:06 +0100
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
85055590c90a96435807062f5c4e924c5fe338d9
85055590
1 parent
6fd59da4
add stream getters to platform interface
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
0 deletions
lib/src/mobile_scanner_platform_interface.dart
lib/src/mobile_scanner_platform_interface.dart
View file @
8505559
...
...
@@ -27,6 +27,21 @@ abstract class MobileScannerPlatform extends PlatformInterface {
_instance
=
instance
;
}
/// Get the stream of barcode captures.
Stream
<
BarcodeCapture
?>
get
barcodesStream
{
throw
UnimplementedError
(
'barcodesStream has not been implemented.'
);
}
/// Get the stream of torch state changes.
Stream
<
TorchState
>
get
torchStateStream
{
throw
UnimplementedError
(
'torchStateStream has not been implemented.'
);
}
/// Get the stream of zoom scale changes.
Stream
<
double
>
get
zoomScaleStateStream
{
throw
UnimplementedError
(
'zoomScaleStateStream has not been implemented.'
);
}
/// Analyze a local image file for barcodes.
///
/// The [path] is the path to the file on disk.
...
...
Please
register
or
login
to post a comment