Type Definitions
The following type definitions are available globally.
-
Undocumented
Declaration
Objective-C
typedef void (^RGLDocumentReaderInitializationCompletion)(BOOL success, NSError * _Nullable error)
Swift
typealias DocumentReaderInitializationCompletion = (Bool, (any Error)?) -> Void
-
Undocumented
Declaration
Objective-C
typedef void (^RGLDocumentReaderCheckUpdateCompletion)(RGLDocReaderDocumentsDatabase * _Nullable database)
Swift
typealias DocumentReaderCheckUpdateCompletion = (RGLDocReaderDocumentsDatabase?) -> Void
-
Undocumented
Declaration
Objective-C
typedef void (^RGLDocumentReaderPrepareCompletion)(BOOL success, NSError * _Nullable error)
Swift
typealias DocumentReaderPrepareCompletion = (Bool, (any Error)?) -> Void
-
Undocumented
Declaration
Objective-C
typedef void (^RGLDocumentReaderCompletion)(RGLDocReaderAction action, RGLDocumentReaderResults * _Nullable results, NSError * _Nullable error)
Swift
typealias DocumentReaderCompletion = (DocReaderAction, RGLDocumentReaderResults?, (any Error)?) -> Void
-
Undocumented
Declaration
Objective-C
typedef void (^RGLDocumentReaderFinalizePackageCompletion)(RGLDocReaderAction action, RGLTransactionInfo * _Nullable info, NSError * _Nullable error)
Swift
typealias DocumentReaderFinalizePackageCompletion = (DocReaderAction, RGLTransactionInfo?, (any Error)?) -> Void
-
Undocumented
Declaration
Objective-C
typedef void (^RGLCallbackCompletionBlock)(NSInteger command, NSData * _Nonnull data, NSString * _Nonnull string)
Swift
typealias CallbackCompletionBlock = (Int, Data, String) -> Void
-
Undocumented
Declaration
Objective-C
typedef void (^RGLRFIDCallbackCompletionBlock)(RGLCommand command, NSData * _Nonnull data, NSString * _Nonnull json, RGLCallbackCompletionBlock _Nonnull completionBlock)
Swift
typealias RFIDCallbackCompletionBlock = (Command, Data, String, @escaping CallbackCompletionBlock) -> Void
-
Undocumented
Declaration
Objective-C
typedef void (^RGLRFIDProcessCompletion)(RGLRFIDCompleteAction action, RGLDocumentReaderResults * _Nullable results, NSError * _Nullable error, RGLRFIDErrorCodes errorCode)
Swift
typealias RFIDProcessCompletion = (RFIDCompleteAction, RGLDocumentReaderResults?, (any Error)?, RFIDErrorCodes) -> Void
-
Undocumented
Declaration
Objective-C
typedef void (^RGLRFIDNotificationCallback)(RGLRFIDNotificationAction notificationAction, RGLRFIDNotify* _Nullable notification)
Swift
typealias RFIDNotificationCallback = (RFIDNotificationAction, RFIDNotify?) -> Void
-
Undocumented
Declaration
Objective-C
typedef NSString * _Nullable (^RGLLocalizationHandler)(NSString * _Nonnull localizationKey)
Swift
typealias RGLLocalizationHandler = (String) -> String?
-
Undocumented
Declaration
Objective-C
typedef void (^RGLRFIDCertificatesCallback)(NSArray <RGLPKDCertificate *> *certificates)
Swift
typealias RFIDCertificatesCallback = ([RGLPKDCertificate]?) -> Void
-
Undocumented
Declaration
Objective-C
typedef void (^RGLCameraViewControllerHandler)(RGLDocumentReaderCameraViewController * _Nullable controller, RGLCameraViewControllerAction action, RGLDocumentReaderResults * _Nullable results)
Swift
typealias CameraViewControllerHandler = (DocumentReaderCameraViewController?, CameraViewControllerAction, DocumentReaderResults?) -> Void
-
Undocumented
Declaration
Objective-C
typedef void (^RGLCompletion)(void)
Swift
typealias RGLCompletion = () -> Void
-
Undocumented
Declaration
Objective-C
typedef NSString * RGLImageQualityCheckType
Swift
struct ImageQualityCheckType : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable
-
Undocumented
Declaration
Objective-C
typedef NSString* RGLLogLevel
Swift
struct RGLLogLevel : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable