-
-
Notifications
You must be signed in to change notification settings - Fork 227
`hasPermission` and `hasDevices` cheat sheet
Luiz Machado edited this page Jun 15, 2018
·
6 revisions
let scanner = new ZXingScannerComponent();
Below we have something I call
qubool
(quantumbool
eans), because they're booleans with multiple values, more than 0 and 1, like aqubit
.
State | Description |
---|---|
true |
Permission Granted. |
false |
Permission Denied. |
unedfined |
Not checked yet. |
null |
Check has failed and the state couldn't be updated. |
State | Description |
---|---|
true |
Usable devices found. |
false |
No available devices. |
unedfined |
Not checked yet. |
null |
Check has failed and the state couldn't be updated. |