scandit-sdk
Version:
Scandit Barcode Scanner SDK for the Web
6 lines (5 loc) • 474 B
TypeScript
import { Camera } from "..";
export declare function wait(ms: number): Promise<void>;
export declare function fakeGetCameras(cameraAmount: number, cameraTypes?: Camera.Type[], cameraLabels?: string[]): void;
export declare function fakeFullCompatibleBrowser(configureLibrary?: boolean, cameraDevices?: MediaDeviceInfo[]): Promise<void>;
export declare function createMediaDeviceInfo(deviceId: string, groupId: string, kind: MediaDeviceKind, label: string): MediaDeviceInfo;