cancel static method
- ProgressListener progressListener
Cancels an ongoing social overlay operation.
Terminates an active asynchronous operation started by methods returning
ProgressListener, such as report, confirmReport, denyReport,
deleteReport, updateReport, or addComment. Cancellation prevents
the onComplete callback from executing.
Parameters
progressListener: The ProgressListener returned from the operation to cancel.
See also:
- report - Submits new social report (cancellable).
- confirmReport - Upvotes report validity (cancellable).
Implementation
static void cancel(ProgressListener progressListener) {
staticMethod('SocialOverlay', 'cancel', args: progressListener.id);
}