Package com.avaya.clientservices.call

## Interface TransferCompletionHandler

-     public interface TransferCompletionHandler

  TransferCompletionHandler is an interface implemented by the client application wishing to receive transfer operation status from the `Call` object. Client application can use this interface using the `Call.transfer(Call, TransferCompletionHandler)` or `Call.transfer(String, TransferCompletionHandler)` methods.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | `onError​(java.lang.Exception error)` | Reports that the operation has failed.
    `void` | `onProgressUpdate​(TransferProgressCode statusCode)` | Called to provide progress information about an ongoing transfer operation that was started on a call.
    `void` | `onSuccess()` | 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.