Package com.avaya.clientservices.call
Interface TransferCompletionHandler
-
public interface TransferCompletionHandlerTransferCompletionHandler is an interface implemented by the client application wishing to receive transfer operation status from theCallobject. Client application can use this interface using theCall.transfer(Call, TransferCompletionHandler)orCall.transfer(String, TransferCompletionHandler)methods.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonError(java.lang.Exception error)Reports that the operation has failed.voidonProgressUpdate(TransferProgressCode statusCode)Called to provide progress information about an ongoing transfer operation that was started on a call.voidonSuccess()Reports that the transfer was successfully completed.
-
-
-
Method Detail
-
onSuccess
void onSuccess()
Reports that the transfer was successfully completed.
-
onProgressUpdate
void onProgressUpdate(TransferProgressCode statusCode)
Called to provide progress information about an ongoing transfer operation that was started on a call. Final feedback about the transfer operation is provided by onSuccess() or onError(). This callback can be used to provide progress information to the user.- Parameters:
statusCode- Transfer progress indication- See Also:
TransferProgressCode
-
onError
void onError(java.lang.Exception error)
Reports that the operation has failed.- Parameters:
error- Information about failure details.
-
-