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
2024-09-18 11:49:25 +0200
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
b73aa67dcbfcaf267f8b1c4f663a8ae0715c0440
b73aa67d
1 parent
c9df2713
add comment for enum class
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
ios/Classes/MobileScannerError.swift
ios/Classes/MobileScannerError.swift
View file @
b73aa67
...
...
@@ -6,6 +6,12 @@
//
import
Foundation
// TODO: decide if we should keep or discard this enum
// When merging the iOS / MacOS implementations we should either keep the enum or remove it
// This enum is a bit of a leftover from older parts of the iOS implementation.
// It is used by the handler that throws these error codes,
// while the plugin class intercepts these and converts them to `FlutterError()`s.
enum
MobileScannerError
:
Error
{
case
noCamera
case
alreadyStarted
...
...
Please
register
or
login
to post a comment