Products Google APIs for Android Reference OnCanceledListener public interface OnCanceledListener Listener called when a Task is canceled. See Also addOnCanceledListener(OnCanceledListener) Public Method Summary abstract void onCanceled() Called when the Task is canceled successfully. Public Methods public abstract void onCanceled () Called when the Task is canceled successfully. Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see our Site Policies. Java is a registered trademark of Oracle and/or its affiliates. Last updated April 12, 2018.