Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace the Streamer's File with PublicationAsset #147

Merged
merged 1 commit into from
Jan 14, 2021

Conversation

mickael-menu
Copy link
Member

The Streamer now takes an instance of an implementation of PublicationAsset instead of an instance of File. This allows to open publications which are not represented as files on the device. For example a stream, an URL or any other custom structure.

Readium 2 ships by default with a FileAsset implementation which replaces the former File for file system assets.

@mickael-menu mickael-menu merged commit f898a5a into master Jan 14, 2021
@mickael-menu mickael-menu deleted the fix/publication-asset branch January 14, 2021 08:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant