Document Sharing Manager
Manager for handling pdf document sharing to other applications.
Functions
Link copied to clipboard
open fun shareBitmap(@NonNull bitmap: Bitmap, @NonNull controller: DocumentSharingController): DocumentSharingController
Shares bitmap.
open fun shareBitmap(@NonNull context: Context, @NonNull bitmap: Bitmap, @NonNull shareAction: ShareAction): DocumentSharingController
Shares bitmap with given share action.
Link copied to clipboard
open fun shareDocument(@NonNull controller: DocumentSharingController, @NonNull document: PdfDocument): DocumentSharingController
open fun shareDocument(@NonNull context: Context, @NonNull document: PdfDocument, @NonNull shareAction: ShareAction): DocumentSharingController
open fun shareDocument(@NonNull controller: DocumentSharingController, @NonNull document: PdfDocument, @Nullable shareOptions: SharingOptions): DocumentSharingController
open fun shareDocument(@NonNull context: Context, @NonNull document: PdfDocument, @NonNull shareAction: ShareAction, @Nullable shareOptions: SharingOptions): DocumentSharingController
Share document using given action with optional sharing options for processing.
open fun shareDocument(@NonNull context: Context, @NonNull document: PdfDocument, @NonNull shareTarget: ShareTarget): DocumentSharingController
Share document to single share target.
open fun shareDocument(@NonNull context: Context, @NonNull document: PdfDocument, @NonNull shareTarget: ShareTarget, @Nullable shareOptions: SharingOptions): DocumentSharingController
Share document to single share target with optional sharing options for processing.
Link copied to clipboard
open fun shareEmbeddedFile(@NonNull embeddedFile: EmbeddedFile, @NonNull controller: DocumentSharingController): DocumentSharingController
Shares embedded file.
open fun shareEmbeddedFile(@NonNull context: Context, @NonNull embeddedFile: EmbeddedFile, @NonNull shareAction: ShareAction): DocumentSharingController
Shares embedded file using given share action.
Link copied to clipboard
open fun shareSoundAnnotation(@NonNull soundAnnotation: SoundAnnotation, @NonNull controller: DocumentSharingController): DocumentSharingController
Shares sound data from sound annotation as a wave (".wav") file.