RGLDocumentReaderTextSource

Objective-C

@interface RGLDocumentReaderTextSource : NSObject

/**
 The value's origin source
 */
@property(nonatomic, assign, readonly) RGLResultType sourceType;

/**
 The value's origin source string description
 */
@property(nonnull, nonatomic, strong, readonly) NSString *source;

/**
 Overall validity status of all text fields of this source type
 */
@property(nonatomic, assign, readonly) RGLCheckResult validityStatus;

- (instancetype _Nonnull)init NS_UNAVAILABLE;
- (instancetype _Nonnull)initWithJSON:(NSDictionary *_Nonnull)json;
+ (instancetype _Nonnull)initWithJSON:(NSDictionary * _Nonnull)json;
- (NSDictionary *_Nonnull)jsonDictionary;

@end

Swift

class DocumentReaderTextSource : NSObject

Undocumented

  • The value’s origin source

    Declaration

    Objective-C

    @property (nonatomic, readonly) RGLResultType sourceType;

    Swift

    var sourceType: ResultType { get }
  • The value’s origin source string description

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly, nonnull) NSString *source;

    Swift

    var source: String { get }
  • Overall validity status of all text fields of this source type

    Declaration

    Objective-C

    @property (nonatomic, readonly) RGLCheckResult validityStatus;

    Swift

    var validityStatus: CheckResult { get }
  • Unavailable

    Undocumented

    Declaration

    Objective-C

    - (instancetype _Nonnull)init NS_UNAVAILABLE;
  • Undocumented

    Declaration

    Objective-C

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

    Swift

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

    Declaration

    Objective-C

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

    Swift

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

    Declaration

    Objective-C

    - (NSDictionary *_Nonnull)jsonDictionary;

    Swift

    func jsonDictionary() -> [AnyHashable : Any]