Package com.zendesk.sdk.network
Class SubmissionListenerAdapter
- java.lang.Object
-
- com.zendesk.sdk.network.SubmissionListenerAdapter
-
- All Implemented Interfaces:
- SubmissionListener, java.io.Serializable
public class SubmissionListenerAdapter extends java.lang.Object implements SubmissionListener
Adapter class forSubmissionListener
to prevent users having to implement all of the methods.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description SubmissionListenerAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description void
onSubmissionCancel()
Called when the submission has been explicitly cancelled by the client / uservoid
onSubmissionCompleted()
Called when a submission has been completed successfullyvoid
onSubmissionError(ErrorResponse errorResponse)
Called when a submission has completed with errors.void
onSubmissionStarted()
Called when a submission has started
-
-
-
Method Detail
-
onSubmissionStarted
public void onSubmissionStarted()
Description copied from interface:SubmissionListener
Called when a submission has started- Specified by:
onSubmissionStarted
in interfaceSubmissionListener
-
onSubmissionCompleted
public void onSubmissionCompleted()
Description copied from interface:SubmissionListener
Called when a submission has been completed successfully- Specified by:
onSubmissionCompleted
in interfaceSubmissionListener
-
onSubmissionCancel
public void onSubmissionCancel()
Description copied from interface:SubmissionListener
Called when the submission has been explicitly cancelled by the client / user- Specified by:
onSubmissionCancel
in interfaceSubmissionListener
-
onSubmissionError
public void onSubmissionError(ErrorResponse errorResponse)
Description copied from interface:SubmissionListener
Called when a submission has completed with errors.- Specified by:
onSubmissionError
in interfaceSubmissionListener
- Parameters:
errorResponse
- TheErrorResponse
describing the error
-
-