set Cancel Listener
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
cancel Listener
OnCancelListener that should be notified, or null
to clear the listener.