NCG Android SDK 2.19.0
-
Updated
**NcgEpubFile.open(String cID, String path)**function:-
Added
cID(Content ID) parameter to theNcgEpubFile.open()function. -
When the same Content ID is reused, internal file open and DRM info parsing are skipped, improving performance.
-
-
Added Multi-thread Support for
**NcgEpubFile**:-
NcgEpubFileclass now supports multi-threaded usage. -
Each
NcgEpubFileinstance must be operated by a single thread — multiple threads reading from the sameopen()call are not supported.
-
-
Updated
**NcgEpubFile.close()**call behavior:-
close()should no longer be called immediately after eachopen(). Instead, callclose()only when all file operations are complete. -
For contents sharing the same
cID, useopen()to open the next file without callingclose()in between. -
Example: When an EPUB file contains multiple internal files, call
open()for each file as needed, and callclose()only once when all files within the EPUB have been processed.
-