Other Type Definitions
The following type definitions are available globally.
-
These option values correspond to the frame retention option for readers.
Declaration
Objective-C
typedef NSUInteger DMSReaderFrameRetentionOptionSwift
struct ReaderFrameRetentionOption : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable
-
The available strategies to use with an image reader. Strategies control how many frames are processed and how efficient a reader will be.
Declaration
Objective-C
typedef NSInteger DMSImageDetectionTypeSwift
struct ImageDetectionType : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable -
Defines the possible representations that can be derived from a payload.
Declaration
Objective-C
typedef NS_EXTENSIBLE_STRING_ENUM NSString *DMSPayloadRepresentationTypeSwift
struct PayloadRepresentationType : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable -
Defines the options that can be used with a reader.
Declaration
Objective-C
typedef NS_EXTENSIBLE_STRING_ENUM NSString *DMSReaderOptionKeySwift
struct ReaderOptionKey : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable -
Undocumented
Declaration
Objective-C
NS_SWIFT_NAME(ReaderErrorUserInfoKey) /// Defines the keys for userinfo returned by a reader result typedef NSString * DMSReaderErrorUserInfoKeySwift
struct ReaderErrorUserInfoKey : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable -
Undocumented
Declaration
Objective-C
__attribute__((swift_name("ResultMetadataType"))) /// Defines the options that can be used with a reader. typedef NSString * _Nonnull DMSResultMetadataTypeSwift
struct ResultMetadataType : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable -
Defines the options that can be used with a resolver.
Declaration
Objective-C
typedef NS_EXTENSIBLE_STRING_ENUM NSString *DMSResolverOptionKeySwift
struct ResolverOptionKey : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable -
Block called on completion of a resolve.
Declaration
Objective-C
typedef void (^DMSResolveCompletionBlock)(DMSResolvedContent *_Nullable, NSError *_Nullable)Swift
typealias ResolveCompletionBlock = (ResolvedContent?, (any Error)?) -> VoidParameters
resolvedContentThe DMSResolvedContent wrapping incoming DMSPayload, resulting DMSResolvedContent, and status information.
errorError code if resolve query failed.
Other Type Definitions Reference