get Share Intent
open fun getShareIntent(@NonNull context: Context, @NonNull shareUri: Uri, @NonNull shareTarget: ShareTarget): Intent
Creates share intent for sharing shareUri
to given shareTarget
.
open fun getShareIntent(@NonNull context: Context, @NonNull shareUri: Uri, @NonNull shareAction: ShareAction): Intent
Creates share intent for sharing shareUri
using given shareAction
.
open fun getShareIntent(@NonNull context: Context, @NonNull shareAction: ShareAction, @Nullable sharedFileName: String): Intent
Creates share intent for sharing PDF file from DocumentSharingProvider with
shareAction
. Use this method to retrieve intent that can be used to retrieve share targets via queryShareTargets.