Package com.pspdfkit.instant.ui
Object InstantPdfActivityIntentBuilder.Companion
-
- All Implemented Interfaces:
public class InstantPdfActivityIntentBuilder.Companion
-
-
Field Summary
Fields Modifier and Type Field Description public final static InstantPdfActivityIntentBuilder.Companion
INSTANCE
-
Method Summary
Modifier and Type Method Description final InstantPdfActivityIntentBuilder
fromInstantDocument(Context context, String instantServerUrl, String jwt)
Creates builder for InstantPdfActivity intent. final PdfActivityConfiguration
checkAndAdjustConfiguration(PdfActivityConfiguration configuration)
Returns an adjusted copy of the given configuration to match the requirements for Instant. -
-
Method Detail
-
fromInstantDocument
final InstantPdfActivityIntentBuilder fromInstantDocument(Context context, String instantServerUrl, String jwt)
Creates builder for InstantPdfActivity intent.
- Parameters:
context
- Calling contextinstantServerUrl
- Url of the Instant Server (PSPDFKit Document Engine) - used to initialize com.pspdfkit.instant.client.InstantClient.jwt
- JWT used to authenticate access to the document.
-
checkAndAdjustConfiguration
final PdfActivityConfiguration checkAndAdjustConfiguration(PdfActivityConfiguration configuration)
Returns an adjusted copy of the given configuration to match the requirements for Instant. Currently the only thing to consider is, that Instant doesn't support content editing.
-
-
-
-