A
B
C
D
E
F
G
H
I
J
L
M
N
O
P
R
S
T
U
V
W
X
O
- of(Uri,ContentResolver,String,String,List) - function in org.readium.r2.shared.util.mediatype.MediaType.Companion
- of(Uri,ContentResolver,List,List,List) - function in org.readium.r2.shared.util.mediatype.MediaType.Companion
- of(File,String,String,List) - function in org.readium.r2.shared.util.mediatype.MediaType.Companion
- of(File,List,List,List) - function in org.readium.r2.shared.util.mediatype.MediaType.Companion
- of(Function0,String,String,List) - function in org.readium.r2.shared.util.mediatype.MediaType.Companion
- of(Function0,List,List,List) - function in org.readium.r2.shared.util.mediatype.MediaType.Companion
- of(String,String,List) - function in org.readium.r2.shared.util.mediatype.MediaType.Companion
- Resolves a format from a single file extension and media type hint, without checking the actual content.
- of(List,List,List) - function in org.readium.r2.shared.util.mediatype.MediaType.Companion
- Resolves a format from file extension and media type hints, without checking the actual content.
- ofBytes(Function0,String,String,List) - function in org.readium.r2.shared.util.mediatype.MediaType.Companion
- Resolves a format from bytes, e.g.
- ofBytes(Function0,List,List,List) - function in org.readium.r2.shared.util.mediatype.MediaType.Companion
- Resolves a format from bytes, e.g.
- ofFile(File,String,String,List) - function in org.readium.r2.shared.util.mediatype.MediaType.Companion
- Resolves a format from a local file path.
- ofFile(File,List,List,List) - function in org.readium.r2.shared.util.mediatype.MediaType.Companion
- Resolves a format from a local file path.
- ofFile(String,String,String,List) - function in org.readium.r2.shared.util.mediatype.MediaType.Companion
- Resolves a format from a local file path.
- ofFile(String,List,List,List) - function in org.readium.r2.shared.util.mediatype.MediaType.Companion
- Resolves a format from a local file path.
- Offline - enum entry in org.readium.r2.shared.util.http.HttpException.Kind
The device is offline.
- ofStatusCode(Integer) - function in org.readium.r2.shared.util.http.HttpException.Kind.Companion
- Resolves the kind of the HTTP error associated with the given statusCode.
- ofUri(Uri,ContentResolver,String,String,List) - function in org.readium.r2.shared.util.mediatype.MediaType.Companion
- Resolves a format from a content URI and a ContentResolver.
- ofUri(Uri,ContentResolver,List,List,List) - function in org.readium.r2.shared.util.mediatype.MediaType.Companion
- Resolves a format from a content URI and a ContentResolver.
- onFailure(Function1) - function in org.readium.r2.shared.util.Try
- Performs the given action on the encapsulated Throwable exception if this instance represents failure.
- onFailure(Function1) - function in org.readium.r2.shared.util.Try
- Performs the given action on the encapsulated Throwable exception if this instance represents failure.
- onFailure(Function1) - function in org.readium.r2.shared.util.Try
- Performs the given action on the encapsulated Throwable exception if this instance represents failure.
- onFollowUnsafeRedirect(HttpRequest,HttpResponse,HttpRequest) - function in org.readium.r2.shared.util.http.DefaultHttpClient.Callback
- Redirections are followed by default when the host and protocols are the same.
- onLeft(Function1) - function in org.readium.r2.shared.util.Either
- onLeft(Function1) - function in org.readium.r2.shared.util.Either
- onLeft(Function1) - function in org.readium.r2.shared.util.Either
- onRecoverRequest(HttpRequest,HttpException) - function in org.readium.r2.shared.util.http.DefaultHttpClient.Callback
- Called when the HTTP client received an error for the given request, to provide an opportunity to the implementer to recover from it.
- onRequestFailed(HttpRequest,HttpException) - function in org.readium.r2.shared.util.http.DefaultHttpClient.Callback
- Called when the HTTP client received an error for the given request.
- onResponseReceived(HttpRequest,HttpResponse) - function in org.readium.r2.shared.util.http.DefaultHttpClient.Callback
- Called when the HTTP client received an HTTP response for the given request.
- onRight(Function1) - function in org.readium.r2.shared.util.Either
- onRight(Function1) - function in org.readium.r2.shared.util.Either
- onRight(Function1) - function in org.readium.r2.shared.util.Either
- onStartRequest(HttpRequest) - function in org.readium.r2.shared.util.http.DefaultHttpClient.Callback
- Called when the HTTP client will start a new request.
- onSuccess(Function1) - function in org.readium.r2.shared.util.Try
- Performs the given action on the encapsulated value if this instance represents success.
- onSuccess(Function1) - function in org.readium.r2.shared.util.Try
- Performs the given action on the encapsulated value if this instance represents success.
- onSuccess(Function1) - function in org.readium.r2.shared.util.Try
- Performs the given action on the encapsulated value if this instance represents success.
- onTrimMemory(MemoryObserver.Level) - function in org.readium.r2.shared.publication.services.InMemoryCacheService
- Called by the system when memory needs to be freed.
- onTrimMemory(MemoryObserver.Level) - function in org.readium.r2.shared.util.Cache
- Called by the system when memory needs to be freed.
- onTrimMemory(MemoryObserver.Level) - function in org.readium.r2.shared.util.MemoryObserver
- Called by the system when memory needs to be freed.
- onTrimMemory(MemoryObserver.Level) - function in org.readium.r2.shared.util.cache.InMemoryCache
- Called by the system when memory needs to be freed.
- opds(SnifferContext) - function in org.readium.r2.shared.util.mediatype.Sniffers
- Sniffs an OPDS document.
- OpdsMetadata - class in org.readium.r2.shared.opds
- open(PublicationAsset,Fetcher,String,Boolean,Object) - function in org.readium.r2.shared.publication.ContentProtection
- Attempts to unlock a potentially protected publication asset.
- open(File,String) - function in org.readium.r2.shared.util.archive.ArchiveFactory
- Opens an archive from a local file.
- open(File,String) - function in org.readium.r2.shared.util.archive.DefaultArchiveFactory
- Opens a ZIP or exploded archive.
- open(File,String) - function in org.readium.r2.shared.util.pdf.PdfDocumentFactory
- Opens a PDF from a file.
- open(Resource,String) - function in org.readium.r2.shared.util.pdf.PdfDocumentFactory
- Opens a PDF from a Fetcher resource.
- optNullableBoolean(JSONObject,String,Boolean) - function in org.readium.r2.shared.extensions.JSONKt
- Returns the value mapped by name if it exists, coercing it if necessary, or
nullif no such mapping exists. - optNullableDouble(JSONObject,String,Boolean) - function in org.readium.r2.shared.extensions.JSONKt
- Returns the value mapped by name if it exists, coercing it if necessary, or
nullif no such mapping exists. - optNullableInt(JSONObject,String,Boolean) - function in org.readium.r2.shared.extensions.JSONKt
- Returns the value mapped by name if it exists, coercing it if necessary, or
nullif no such mapping exists. - optNullableLong(JSONObject,String,Boolean) - function in org.readium.r2.shared.extensions.JSONKt
- Returns the value mapped by name if it exists, coercing it if necessary, or
nullif no such mapping exists. - optNullableString(JSONObject,String,Boolean) - function in org.readium.r2.shared.extensions.JSONKt
- Returns the value mapped by name if it exists, or
nullif no such mapping exists, it is not a string or it is empty. - optPositiveDouble(JSONObject,String,Double,Boolean) - function in org.readium.r2.shared.extensions.JSONKt
- Returns the value mapped by name if it exists and is a positive double or can be coerced to a positive double, or fallback otherwise.
- optPositiveInt(JSONObject,String,Integer,Boolean) - function in org.readium.r2.shared.extensions.JSONKt
- Returns the value mapped by name if it exists and is a positive integer or can be coerced to a positive integer, or fallback otherwise.
- optStringsFromArrayOrSingle(JSONObject,String,Boolean) - function in org.readium.r2.shared.extensions.JSONKt
- Returns the value mapped by name if it exists and is either a JSONArray of String or a single String value, or an empty list otherwise.
- org.readium.r2.shared - package org.readium.r2.shared
- org.readium.r2.shared.drm - package org.readium.r2.shared.drm
- org.readium.r2.shared.extensions - package org.readium.r2.shared.extensions
- org.readium.r2.shared.fetcher - package org.readium.r2.shared.fetcher
- org.readium.r2.shared.format - package org.readium.r2.shared.format
- org.readium.r2.shared.opds - package org.readium.r2.shared.opds
- org.readium.r2.shared.parser.xml - package org.readium.r2.shared.parser.xml
- org.readium.r2.shared.publication - package org.readium.r2.shared.publication
- org.readium.r2.shared.publication.archive - package org.readium.r2.shared.publication.archive
- org.readium.r2.shared.publication.asset - package org.readium.r2.shared.publication.asset
- org.readium.r2.shared.publication.encryption - package org.readium.r2.shared.publication.encryption
- org.readium.r2.shared.publication.epub - package org.readium.r2.shared.publication.epub
- org.readium.r2.shared.publication.html - package org.readium.r2.shared.publication.html
- org.readium.r2.shared.publication.opds - package org.readium.r2.shared.publication.opds
- org.readium.r2.shared.publication.presentation - package org.readium.r2.shared.publication.presentation
- org.readium.r2.shared.publication.services - package org.readium.r2.shared.publication.services
- org.readium.r2.shared.publication.services.content - package org.readium.r2.shared.publication.services.content
- org.readium.r2.shared.publication.services.content.iterators - package org.readium.r2.shared.publication.services.content.iterators
- org.readium.r2.shared.publication.services.search - package org.readium.r2.shared.publication.services.search
- org.readium.r2.shared.util - package org.readium.r2.shared.util
- org.readium.r2.shared.util.archive - package org.readium.r2.shared.util.archive
- org.readium.r2.shared.util.cache - package org.readium.r2.shared.util.cache
- org.readium.r2.shared.util.http - package org.readium.r2.shared.util.http
- org.readium.r2.shared.util.io - package org.readium.r2.shared.util.io
- org.readium.r2.shared.util.logging - package org.readium.r2.shared.util.logging
- org.readium.r2.shared.util.mediatype - package org.readium.r2.shared.util.mediatype
- org.readium.r2.shared.util.pdf - package org.readium.r2.shared.util.pdf
- org.readium.r2.shared.util.tokenizer - package org.readium.r2.shared.util.tokenizer
- Other - enum entry in org.readium.r2.shared.util.http.HttpException.Kind
An error whose kind is not recognized.