setCancelListener

Sets a listener to be notified of a cancellation. Calling this method will replace any previously set listener. You may provide null to clear the listener.

Parameters

cancelListener

OnCancelListener that should be notified, or null to clear the listener.