DefaultDocumentSharingController

Constructors

Link copied to clipboard
constructor(@NonNull context: Context)
Creates a default document controller to handle the document sharing process.
constructor(@NonNull context: Context, @NonNull shareAction: ShareAction)
Creates a default document controller to handle the document sharing process.
constructor(@NonNull context: Context, @NonNull shareTarget: ShareTarget)
Creates a default document controller to handle the document sharing process.

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open fun cancelSharing()
Cancels sharing process.
Link copied to clipboard
open fun onDetach()
Called when the controller is no longer attached to its activity (i.e.
Link copied to clipboard
open fun onSharingError()
Called when error occurred during document preparation for sharing.
Link copied to clipboard
open fun onSharingFinished(@NonNull shareUri: Uri)
Called when shared document is prepared.
Link copied to clipboard
Called when processing progress has been updated.
Link copied to clipboard
open fun onSharingStarted(@NonNull shareDocumentDisposable: Disposable)
Called when DocumentSharingManager starts processing document for sharing.