Class CameraPageService
java.lang.Object
org.tavall.couriers.api.web.service.camera.CameraPageService
-
Constructor Summary
ConstructorsConstructorDescriptionCameraPageService(CameraFrameAnalyzer frameAnalyzer, ShippingLabelMetaDataService shippingService, DeliveryRouteService deliveryRouteService, ScanCacheService scanCache, ScanErrorCacheService scanErrorCache, LocalQRScanner localQRScanner, CameraSessionService cameraSessionService) -
Method Summary
Modifier and TypeMethodDescriptionvoidcloseSession(String scanSessionId) errorResponse(String message) getIntakeStatus(String scanSessionId) handleFrame(byte[] snapshot, CameraOptions cameraOptions, org.springframework.security.core.Authentication authentication, String routeId, String scanSessionId)
-
Constructor Details
-
CameraPageService
public CameraPageService(CameraFrameAnalyzer frameAnalyzer, ShippingLabelMetaDataService shippingService, DeliveryRouteService deliveryRouteService, ScanCacheService scanCache, ScanErrorCacheService scanErrorCache, LocalQRScanner localQRScanner, CameraSessionService cameraSessionService)
-
-
Method Details
-
getProcessingResponses
-
handleFrame
public CameraScanResult handleFrame(byte[] snapshot, CameraOptions cameraOptions, org.springframework.security.core.Authentication authentication, String routeId, String scanSessionId) -
errorResponse
-
closeSession
-
getIntakeStatus
-