Package com.zendesk.sdk.network
Interface SubmissionListener
-
- All Superinterfaces:
- java.io.Serializable
- All Known Implementing Classes:
- SubmissionListenerAdapter
public interface SubmissionListener extends java.io.Serializable
This interface allows you to subscribe to the lifecycle events that take place during the submission of a resource like Comments or Requests
-
-
Method Summary
All Methods Instance Methods Abstract 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
void onSubmissionStarted()
Called when a submission has started
-
onSubmissionCompleted
void onSubmissionCompleted()
Called when a submission has been completed successfully
-
onSubmissionCancel
void onSubmissionCancel()
Called when the submission has been explicitly cancelled by the client / user
-
onSubmissionError
void onSubmissionError(ErrorResponse errorResponse)
Called when a submission has completed with errors.- Parameters:
errorResponse
- TheErrorResponse
describing the error
-
-