share Bitmap
open fun shareBitmap(@NonNull context: Context, @NonNull bitmap: Bitmap, @NonNull shareAction: ShareAction): DocumentSharingController
Shares bitmap with given share action.
Return
Sharing controller that can be used to cancel the sharing process.
Parameters
bitmap
Bitmap that should be shared.
share Action
Share action that will get executed.
open fun shareBitmap(@NonNull bitmap: Bitmap, @NonNull controller: DocumentSharingController): DocumentSharingController
Shares bitmap. Sharing process will be managed by provided DocumentSharingController.
Return
Sharing controller that can be used to cancel the sharing process.
Parameters
bitmap
Bitmap that should be shared.
controller
Controller to use for sharing.