java.lang.Object | |
↳ | com.pspdfkit.document.sharing.DocumentSharingManager |
Manager for handling pdf document sharing to other applications.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
DocumentSharingManager() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
static DocumentSharingController |
shareBitmap(Bitmap bitmap, DocumentSharingController controller)
Shares bitmap.
| ||||||||||
static DocumentSharingController |
shareBitmap(Context context, Bitmap bitmap, ShareAction shareAction)
Shares bitmap with given share action.
| ||||||||||
static DocumentSharingController |
shareDocument(Context context, PdfDocument document, ShareTarget shareTarget)
Share document to single share target.
| ||||||||||
static DocumentSharingController |
shareDocument(DocumentSharingController controller, PdfDocument document, SharingOptions shareOptions)
Share document using given action with optional sharing options for processing.
| ||||||||||
static DocumentSharingController |
shareDocument(Context context, PdfDocument document, ShareTarget shareTarget, SharingOptions shareOptions)
Share document to single share target with optional sharing options for processing.
| ||||||||||
static DocumentSharingController |
shareDocument(Context context, PdfDocument document, ShareAction shareAction, SharingOptions shareOptions)
Share document using given action with optional sharing options for processing.
| ||||||||||
static DocumentSharingController |
shareDocument(Context context, PdfDocument document, ShareAction shareAction)
Share document using given action with optional sharing options for processing.
| ||||||||||
static DocumentSharingController |
shareDocument(DocumentSharingController controller, PdfDocument document)
Share document using given action with optional sharing options for processing.
| ||||||||||
static DocumentSharingController |
shareEmbeddedFile(EmbeddedFile embeddedFile, DocumentSharingController controller)
Shares embedded file.
| ||||||||||
static DocumentSharingController |
shareEmbeddedFile(Context context, EmbeddedFile embeddedFile, ShareAction shareAction)
Shares embedded file using given share action.
| ||||||||||
static DocumentSharingController |
shareSoundAnnotation(SoundAnnotation soundAnnotation, DocumentSharingController controller)
Shares sound data from sound annotation as a wave (".wav") file.
| ||||||||||
static void |
shareText(Context context, String text)
Share simple text to other apps.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Shares bitmap. Sharing process will be managed by provided DocumentSharingController
.
bitmap | Bitmap that should be shared. |
---|---|
controller | Controller to use for sharing. |
Shares bitmap with given share action.
bitmap | Bitmap that should be shared. |
---|---|
shareAction | Share action that will get executed. |
Share document to single share target.
document | Document to share. |
---|---|
shareTarget | Target of the share action. |
Share document using given action with optional sharing options for processing.
When license allows creating new documents, shareOptions
are used to configure
PdfProcessor
task that will get performed before sharing.
controller | Controller to use for sharing. |
---|---|
document | Document to share. |
shareOptions | Options used to configure PdfProcessor task that will get
performed before sharing. Works only when license allows creating new documents. |
Share document to single share target with optional sharing options for processing.
When license allows creating new documents, shareOptions
are used to configure
PdfProcessor
task that will get performed before sharing.
document | Document to share. |
---|---|
shareTarget | Target of the share action. |
shareOptions | Options used to configure PdfProcessor task that will get
performed before sharing. Works only when license allows creating new documents. |
Share document using given action with optional sharing options for processing. When license
allows creating new documents, shareOptions
are used to configure PdfProcessor
task that will get performed before sharing.
document | Document to share. |
---|---|
shareAction | Share action that will get executed. |
shareOptions | Options used to configure PdfProcessor task that will get
performed before sharing. Works only when license allows creating new documents. |
Share document using given action with optional sharing options for processing.
document | Document to share. |
---|---|
shareAction | Share action that will get executed. |
Share document using given action with optional sharing options for processing.
controller | Controller to use for sharing. |
---|---|
document | Document to share. |
Shares embedded file. Sharing process will be managed by provided DocumentSharingController
.
controller | Controller to use for sharing. |
---|
Shares embedded file using given share action.
shareAction | Share action that will get executed. |
---|
Shares sound data from sound annotation as a wave (".wav") file. Sharing process will be
managed by provided DocumentSharingController
.
controller | Controller to use for sharing. |
---|
Share simple text to other apps.
context | Context of the calling component. |
---|---|
text | Text to be shared to other apps. |