RGLImageQualityGroup

Objective-C

@interface RGLImageQualityGroup : NSObject

/**
 Number of results
 */
@property(nonatomic, assign, readonly) NSInteger count;
/**
 Overall check result for document page, one of RGLCheckResult values
 */
@property(nonatomic, assign, readonly) RGLCheckResult result;
/**
 An array of single check result pointers
 */
@property(nonatomic, strong, readonly, nonnull) NSArray <RGLImageQuality *> *imageQualityList;

/**
 Index of the document page, whence the result is received
 */
@property(nonatomic, assign, readonly) NSInteger pageIndex;

- (instancetype)init NS_UNAVAILABLE;
- (RGLCheckResult)getQualityResultWithType:(RGLImageQualityCheckType)type;
- (instancetype)initWithJSON:(NSDictionary *)json;
+ (instancetype)initWithJSON:(NSDictionary *)json;
- (NSDictionary *)jsonDictionary;

@end

Swift

class ImageQualityGroup : NSObject

Undocumented

  • Number of results

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSInteger count;

    Swift

    var count: Int { get }
  • Overall check result for document page, one of RGLCheckResult values

    Declaration

    Objective-C

    @property (nonatomic, readonly) RGLCheckResult result;

    Swift

    var result: CheckResult { get }
  • An array of single check result pointers

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly, nonnull) NSArray<RGLImageQuality *> *imageQualityList;

    Swift

    var imageQualityList: [RGLImageQuality] { get }
  • Index of the document page, whence the result is received

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSInteger pageIndex;

    Swift

    var pageIndex: Int { get }
  • Unavailable

    Undocumented

    Declaration

    Objective-C

    - (instancetype)init NS_UNAVAILABLE;
  • Undocumented

    Declaration

    Objective-C

    - (RGLCheckResult)getQualityResultWithType:(RGLImageQualityCheckType)type;

    Swift

    func getQualityResult(withType type: ImageQualityCheckType) -> CheckResult
  • Undocumented

    Declaration

    Objective-C

    - (instancetype)initWithJSON:(NSDictionary *)json;

    Swift

    init(json: [AnyHashable : Any])
  • Undocumented

    Declaration

    Objective-C

    + (instancetype)initWithJSON:(NSDictionary *)json;

    Swift

    class func initWithJSON(_ json: [AnyHashable : Any]) -> Self
  • Undocumented

    Declaration

    Objective-C

    - (NSDictionary *)jsonDictionary;

    Swift

    func jsonDictionary() -> [AnyHashable : Any]