3.0.0-alpha.1 #451
mickael-menu
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Resources
Changelog
Added
Shared
Format
type was introduced to augmentMediaType
with more precise information about the format specifications of anAsset
.DownloadManager
interface handles HTTP downloads. Components like theLcpService
rely on it for downloading publications. Readium v3 ships with two implementations:ForegroundDownloadManager
uses anHttpClient
to download files while the app is running.AndroidDownloadManager
is built upon Android'sDownloadManager
to manage HTTP downloads, even when the application is closed. It allows for resuming downloads after losing connection.ZipArchiveOpener
now supports streaming ZIP archives, which enables opening a packaged publication (e.g. EPUB or LCP protected audiobook):ContentProvider
, such as the shared storage.Navigator
VisualNavigator.addInputListener()
.LCP
Changed
readium_
. This means that you must rename any layouts or strings you have overridden. Some resources were removed from the toolkit. Please consult the migration guide.Error
instance instead of anException
in case of failure, as these objects are not thrown by the toolkit but returned as valuesShared
Locator
andLink
'shref
. You must migrate the HREFs or Locators stored in your database, please consult the migration guide.Link.href
andLocator.href
are now respectivelyHref
andUrl
objects. If you still need the string value, you can calltoString()
MediaType
no longer has static helpers for sniffing it from a file or URL. Instead, you can use anAssetRetriever
to retrieve the format of a file.Navigator
DirectionalNavigationAdapter
that replacesEdgeTapNavigation
. This helper enables users to navigate between pages using arrow and space keys on their keyboard or by tapping the edge of the screen.onTap
andonDrag
events ofVisualNavigator.Listener
have been deprecated. You can now use multiple implementations ofInputListener
withVisualNavigator.addInputListener()
.Streamer
Streamer
object has been deprecated in favor of components with smaller responsibilities:AssetRetriever
andPublicationOpener
.LCP
LcpService.acquirePublication()
is deprecated in favor ofLcpService.publicationRetriever()
, which provides greater flexibility thanks to theDownloadManager
.LcpDialogAuthentication
is retrieved was changed to support Android configuration changes.Deprecated
Shared
putPublication
andgetPublication
helpers inIntent
are deprecated. Now, it is the application's responsibility to passPublication
objects between activities and reopen them when necessary.Navigator
This discussion was created from the release 3.0.0-alpha.1.
Beta Was this translation helpful? Give feedback.
All reactions