camerasFound |
callback: (devices: MediaDeviceInfo[]) => {} |
EventEmitter<MediaDeviceInfo > |
Emits an event when cameras are found. |
camerasNotFound |
callback: (): void => {} |
EventEmitter<void> |
Emits an event when cameras are not found. |
scanSuccess |
callback: (result: string): void => {} |
EventEmitter<string> |
Emits an event when a scan is successful performed. |
scanFailure |
callback: (): void => {} |
EventEmitter<void> |
Emits an event when a scan fails. |
scanError |
callback: (error: any): void => {} |
EventEmitter<any> |
Emits an event when a scan throws an error. |
scanComplete |
callback: (error: any): void => {} |
EventEmitter<any> |
Emits events when a scan is performed, will inject the Result value of the QR-code scan (if available) to the callback. |