RGLRecordScanningProcessDelegate

Objective-C

@protocol RGLRecordScanningProcessDelegate <NSObject>
@optional
/*!
 * @abstract Called by DocumentReader when recording process started.
 *
 * @return A output file URL for every record. Use new file name for every new scanning session.
 *         Already existing files will not overwritten, and error will be produced.
 */
- (nonnull NSURL *)recordingOutputFileURL;

/*!
 * @abstract Called by DocumentReader when recording process finished.
 *
 * @param fileURL The output file URL. Contains URL to recording output for every scanning session.
 */
- (void)didFinishRecordingToFile:(nonnull NSURL *)fileURL;

/*!
 * @abstract Called by DocumentReader when an error has occurred for some reason.
 *
 * @param error The error object.
 */
- (void)didFailWithError:(nonnull NSError *)error;
@end

Swift

protocol RecordScanningProcessDelegate : NSObjectProtocol

Undocumented

  • Undocumented

    Declaration

    Objective-C

    - (nonnull NSURL *)recordingOutputFileURL;

    Swift

    optional func recordingOutputFileURL() -> URL
  • Undocumented

    Declaration

    Objective-C

    - (void)didFinishRecordingToFile:(nonnull NSURL *)fileURL;

    Swift

    optional func didFinishRecording(toFile fileURL: URL)
  • Undocumented

    Declaration

    Objective-C

    - (void)didFailWithError:(nonnull NSError *)error;

    Swift

    optional func didFailWithError(_ error: any Error)