To answer your question, there is no delay/expiration mechanism for the waitForIdle ; If you process a very huge file, you may have to wait for a long time (e.g. 30 minutes, or more).
Also, please note there is not API function to stop the recognition process.
currently, it seems you are posting in the wrong place.
Are you using our iink SDK, or our Nebo application? if Nebo, please submit any question you may have in the "My tickets" part of our application support site: https://app-support.myscript.com/support/home
Best regards,
Olivier
O
Olivier @MyScript
said
about 4 years ago
Answer
Dear Deny,
thank you for contacting us.
To answer your question, there is no delay/expiration mechanism for the waitForIdle ; If you process a very huge file, you may have to wait for a long time (e.g. 30 minutes, or more).
Also, please note there is not API function to stop the recognition process.
denny denny
private String getRecognitionText(Editor aiEditor) {
//是否有超时或者停止机制?如果有,多久超时
aiEditor.waitForIdle();
String recognitionText = null;
try {
recognitionText = aiEditor.export_((ContentBlock) null, MimeType.JIIX, aiEditor.getConfiguration());
} catch (IOException e) {
}
return recogResult;
}
Dear Deny,
thank you for contacting us.
To answer your question, there is no delay/expiration mechanism for the waitForIdle ; If you process a very huge file, you may have to wait for a long time (e.g. 30 minutes, or more).
Also, please note there is not API function to stop the recognition process.
Best regards,
Olivier
- Oldest First
- Popular
- Newest First
Sorted by Newest FirstOlivier @MyScript
Dear Sir,
currently, it seems you are posting in the wrong place.
Are you using our iink SDK, or our Nebo application? if Nebo, please submit any question you may have in the "My tickets" part of our application support site: https://app-support.myscript.com/support/home
Best regards,
Olivier
Olivier @MyScript
Dear Deny,
thank you for contacting us.
To answer your question, there is no delay/expiration mechanism for the waitForIdle ; If you process a very huge file, you may have to wait for a long time (e.g. 30 minutes, or more).
Also, please note there is not API function to stop the recognition process.
Best regards,
Olivier