DocumentSharingController

Base class for sharing controllers. These controllers can be used to customize sharing process in DocumentSharingManager.

Inheritors

Functions

Link copied to clipboard
open fun cancelSharing()

Cancels sharing process.

Link copied to clipboard
open fun onAttach(context: Context)

Called when sharing controller is attached to its activity.

Link copied to clipboard
open fun onDetach()

Called when the controller is no longer attached to its activity (i.e. during configuration change).

Link copied to clipboard
open fun onSharingError()

Called when error occurred during document preparation for sharing.

Link copied to clipboard
open fun onSharingFinished(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(shareDocumentJob: Job)

Called when DocumentSharingManager starts processing document for sharing.