# Interface ShareResultListener

public interface ShareResultListener

Receives the outcome of a share request. Always invoked on the EDT.

Pass into `Display.share(String)` or `ShareButton.setShareResultListener(ShareResultListener)`.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `onResult(ShareResult result)`
  Called once when the share sheet finishes (target picked, dismissed, or failed).

- ## Method Details

  - ### onResult

    void onResult(ShareResult result)
    Called once when the share sheet finishes (target picked, dismissed, or failed). Never invoked more than once for the same share request.