setCancelButtonClickListener

Sets View.OnClickListener which is notified when the close button is clicked.

Important: This is a Public Preview API. It may be changed or removed at any time.