com.qihoo.videocloud

## Interface IQHVCPlayer.OnErrorListener

- Enclosing interface:
    IQHVCPlayer

      public static interface IQHVCPlayer.OnErrorListener

  Interface definition of a callback to be invoked when there has been an error during an asynchronous operation.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `onError(int handle, int what, int extra)` Called to indicate an error.

- - ### Method Detail

    - #### onError

          boolean onError(int handle,
                          int what,
                          int extra)

      Called to indicate an error.
      Parameters:
        `handle` - (int)playerId. the player the error pertains to
        `what` - the type of error that has occurred:
        `extra` - an extra code, specific to the error. Typically implementation dependent.
      Returns:
        True if the method handled the error, false if it didn't. Returning false, or not having an OnErrorListener at all, will cause the OnCompletionListener to be called.