com.aliyun.player.source

## 类 LiveShift

- java.lang.Object
- - com.aliyun.player.source.LiveShift

-     public class LiveShift
      extends java.lang.Object

  Timeshift playback source

  You can call setUrl(String) to set the broadcasting URL, and call setTimeLineUrl(String) to set the timeshift playback URL. The URL specified in TimeLineUrl is used to query the timeshift period. The player SDK sends a request to this URL every minute to update the timeshift period and other information.

- - ### 构造器概要

    构造器
    构造器和说明
    `LiveShift()`

  - ### 方法概要

    所有方法 实例方法 具体方法
    限定符和类型 | 方法和说明
    --- | ---
    `java.lang.String` | `getCoverPath()` Query the URL of the album cover.
    `java.lang.String` | `getFormat()` Query the format of the video.
    `java.lang.String` | `getTimeLineUrl()` Query the timeshift request URL.
    `java.lang.String` | `getTitle()` Query the title of the video.
    `java.lang.String` | `getUrl()` Query the playback URL.
    `void` | `setCoverPath(java.lang.String coverPath)` Set the URL of the album cover.
    `void` | `setFormat(java.lang.String format)` Set the format of the video.
    `void` | `setTimeLineUrl(java.lang.String timeLineUrl)` Set the timeshift request URL.
    `void` | `setTitle(java.lang.String title)` Set the title of the video.
    `void` | `setUrl(java.lang.String url)` Set the playback URL.

    - ### 从类继承的方法 java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### 构造器详细资料

    - #### LiveShift

          public LiveShift()

  - ### 方法详细资料

    - #### setFormat

          public void setFormat(java.lang.String format)

      Set the format of the video.
      参数:
        `format` - The format of the video.

    - #### getFormat

          public java.lang.String getFormat()

      Query the format of the video.
      返回:
        The format of the video.

    - #### getUrl

          public java.lang.String getUrl()

      Query the playback URL.
      返回:
        The playback URL.

    - #### setUrl

          public void setUrl(java.lang.String url)

      Set the playback URL.
      参数:
        `The` - playback URL.

    - #### getCoverPath

          public java.lang.String getCoverPath()

      Query the URL of the album cover.
      返回:
        The URL of the album cover.

    - #### setCoverPath

          public void setCoverPath(java.lang.String coverPath)

      Set the URL of the album cover.
      参数:
        `coverPath` - The URL of the album cover.

    - #### getTitle

          public java.lang.String getTitle()

      Query the title of the video.
      返回:
        The title of the video.

    - #### setTitle

          public void setTitle(java.lang.String title)

      Set the title of the video.
      参数:
        `title` - The title of the video.

    - #### getTimeLineUrl

          public java.lang.String getTimeLineUrl()

      Query the timeshift request URL.
      返回:
        The timeshift request URL.

    - #### setTimeLineUrl

          public void setTimeLineUrl(java.lang.String timeLineUrl)

      Set the timeshift request URL.
      参数:
        `timeLineUrl` - The timeshift request URL.