com.qihoo.videocloud

## Interface IQHVCPlayerAdvanced.QHVCSwitchResolutionListener

- Enclosing interface:
    IQHVCPlayerAdvanced

      public static interface IQHVCPlayerAdvanced.QHVCSwitchResolutionListener

  切换分辨率回调

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `onError(int errorCode, java.lang.String errorMsg)` 切换失败
    `void` | `onPrepare()` 切换准备
    `void` | `onStart()` 切换中
    `void` | `onSuccess(int index, java.lang.String url)` 切换分辨率成功

- - ### Method Detail

    - #### onPrepare

          void onPrepare()

      切换准备

    - #### onStart

          void onStart()

      切换中

    - #### onSuccess

          void onSuccess(int index,
                         java.lang.String url)

      切换分辨率成功
      Parameters:
        `index` - 当前播放source index
        `url` - 当前播放url

    - #### onError

          void onError(int errorCode,
                       java.lang.String errorMsg)

      切换失败
      Parameters:
        `errorCode` - 错误码 `IQHVCPlayerAdvanced.QHVCSwitchResolutionError`
        `errorMsg` - 错误信息