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(@NonNull 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.
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.