com.aliyun.player

## 接口 IPlayer.OnTrackChangedListener

- 封闭接口:
    IPlayer

      public static interface IPlayer.OnTrackChangedListener

  Stream switchover callback.

- - ### 方法概要

    所有方法 实例方法 抽象方法
    限定符和类型 | 方法和说明
    --- | ---
    `void` | `onChangedFail(TrackInfo trackInfo, ErrorInfo errorInfo)` Failed to switch the stream.
    `void` | `onChangedSuccess(TrackInfo trackInfo)` The stream is switched.

- - ### 方法详细资料

    - #### onChangedSuccess

          void onChangedSuccess(TrackInfo trackInfo)

      The stream is switched.
      参数:
        `trackInfo` - Stream information. See `TrackInfo`.

    - #### onChangedFail

          void onChangedFail(TrackInfo trackInfo,
                             ErrorInfo errorInfo)

      Failed to switch the stream.
      参数:
        `trackInfo` - Stream information. See `TrackInfo`.
        `errorInfo` - Error message. See `ErrorInfo`.