public event EventHandler<OcrAutoRecognizeRunJobEventArgs> JobCompleted
Event JobCompleted As EventHandler(Of OcrAutoRecognizeRunJobEventArgs)
- (void)autoRecognizeManager:(LTOcrAutoRecognizeManager *)manager didCompleteWithStatus:(LTOcrAutoRecognizeManagerJobStatus *)status
synchronized public void addJobCompletedListener(OcrAutoRecognizeRunJobListener listener)
synchronized public void removeJobCompletedListener(OcrAutoRecognizeRunJobListener listener)
event EventHandler<OcrAutoRecognizeRunJobEventArgs^>^ JobCompleted
The event handler receives an argument of type OcrAutoRecognizeRunJobEventArgs containing data related to this event. The following OcrAutoRecognizeRunJobEventArgs properties provide information specific to this event.
|Job||Gets the job that triggered this event.|
You can use this event to keep track of the number of jobs pending running. You can also examine OcrAutoRecognizeRunJobEventArgs.Job to get information on whether job finished successfully and get error status if any. RunJob example shows complete source code of how to easily accomplish these tasks in your application.
The JobCompleted event will always occur when a job is run whether the job is aborted or completed.
The JobStarted event occurs when a job is about to start.
For an example, refer to RunJob.
Medical Web Viewer .NET
.NET, Java, Android, and iOS/macOS Assemblies
C API/C++ Class Libraries