public interface ShareResultListener

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

Pass into Display.share or ShareButton.setShareResultListener.

Methods

public abstract void onResult(ShareResult result)Called once when the share sheet finishes (target picked, dismissed, or failed).

Method details

onResult

public abstract 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.