ReaderPublicationStorage

Allows management of a ReaderPublication's storage state, such as 'localStorage' for EPUB. This allows applications to save and restore the reader publication storage state across reading-sessions and devices.

The API acts as a proxy for the Web Storage API, but does not use the same storage mechanism as the browser.

Properties

Link copied to clipboard
abstract var sizeLimit: Int

Get/Sets the size limit of each publication storage area. The size of a publication storage area is defined as the total string length of all the keys and values in the storage area.

Functions

Link copied to clipboard

Gets a storage area by type.