osdDirectoryWithCompletion: Type Method

+ (void) osdDirectoryWithCompletion:(void (^)(NSString * dir, NSError * error)) completion;

Resolves the directory containing the bundled OSD data, decrypting it on first use off the main thread. The completion runs on an arbitrary queue.

Parameters

  • completion — Called with the OCR-data directory path (nil on failure) and an NSError (nil on success).
Top