Companion

object Companion

Static helpers for sharing documents, embedded files, bitmaps and sound annotations.

Functions

Link copied to clipboard

Shares bitmap. Sharing process will be managed by the provided DocumentSharingController.

Shares bitmap with given share action.

Link copied to clipboard

Share document using the given controller.

Share document using given action.

Share document to single share target.

Share document using the given controller with optional sharing options for processing.

fun shareDocument(context: Context, document: PdfDocument, shareAction: ShareAction, shareOptions: SharingOptions?): DocumentSharingController

Share document using given action with optional sharing options for processing. When license allows creating new documents, shareOptions are used to configure the PdfProcessor task that will get performed before sharing.

fun shareDocument(context: Context, document: PdfDocument, shareTarget: ShareTarget, shareOptions: SharingOptions?): DocumentSharingController

Share document to single share target with optional sharing options for processing.

Link copied to clipboard

Shares embedded file. Sharing process will be managed by the provided DocumentSharingController.

Shares embedded file using given share action.

Link copied to clipboard

Shares sound data from sound annotation as a wave (".wav") file. Sharing process will be managed by the provided DocumentSharingController.

Link copied to clipboard
fun shareText(context: Context, text: String?)

Share simple text to other apps.