code: private void shareLink(ShareLinkBuilder builder) {
          //Cancel any existing sharing in progress.
          if (shareLinkManager_ != null) {
              shareLinkManager_.cancelShareLinkDialog(true);
          }
          shareLinkManager_ = new ShareLinkManager();
          shareLinkManager_.shareLink(builder);
      }
docs: <p>Creates options for sharing a link with other Applications. Creates a link with given attributes and shares with the
  user selected clients.</p>
  
  @param builder A {@link io.branch.referral.Branch.ShareLinkBuilder} instance to build share link.