Interface ITextDataScannerHandle

interface ITextDataScannerHandle {
    dispose(): void;
    fetchAvailableCameras(): Promise<CameraInfo[]>;
    getActiveCameraInfo(): CameraInfo;
    isDetectionPaused(): boolean;
    pauseDetection(): void;
    resumeDetection(): void;
    setTorchState(state): Promise<void>;
    swapCameraFacing(force?): void;
    switchCamera(deviceId, mirrored?): void;
}

Hierarchy

  • IScannerCommon
    • ITextDataScannerHandle

Methods

  • Returns void

  • Returns Promise<CameraInfo[]>

  • Returns CameraInfo

  • Returns boolean

  • Returns void

  • Returns void

  • Parameters

    • state: boolean

    Returns Promise<void>

  • Parameters

    • Optional force: boolean

    Returns void

  • Parameters

    • deviceId: string
    • Optional mirrored: boolean

    Returns void

Generated using TypeDoc