Instant Pdf Activity Intent Builder
Builder used for creating an intent for starting InstantPdfActivity. Allows setting the document and all of the necessary configuration.
Functions
Link copied to clipboard
open fun activityClass(@Nullable activityClass: Class<out PdfActivity>): InstantPdfActivityIntentBuilder
open fun activityClass(@Nullable activityClass: KClass<out PdfActivity>): InstantPdfActivityIntentBuilder
Sets a custom
activity
class used for document display.Link copied to clipboard
open fun configuration(@Nullable configuration: PdfActivityConfiguration): InstantPdfActivityIntentBuilder
Sets PdfActivityConfiguration to be set on the target InstantPdfActivity in which the document(s) will be displayed.
Link copied to clipboard
open fun fromInstantDocument(@NonNull context: Context, @NonNull instantServerUrl: String, @NonNull jwt: String): InstantPdfActivityIntentBuilder
Creates builder for InstantPdfActivity intent.