public static final class GetPlayInfoResponseBody.VideoBase.Builder extends Object
构造器和说明 |
---|
Builder() |
限定符和类型 | 方法和说明 |
---|---|
GetPlayInfoResponseBody.VideoBase |
build() |
GetPlayInfoResponseBody.VideoBase.Builder |
coverURL(String coverURL)
ApsaraVideo VOD
|
GetPlayInfoResponseBody.VideoBase.Builder |
creationTime(String creationTime)
The type of the media stream.
|
GetPlayInfoResponseBody.VideoBase.Builder |
danMuURL(String danMuURL)
The time when the audio or video file was created.
|
GetPlayInfoResponseBody.VideoBase.Builder |
duration(String duration)
The ID of the watermark that is associated with the media stream.
|
GetPlayInfoResponseBody.VideoBase.Builder |
mediaType(String mediaType)
The ID of the audio or video file.
|
GetPlayInfoResponseBody.VideoBase.Builder |
status(String status)
The thumbnail URL of the audio or video file.
|
GetPlayInfoResponseBody.VideoBase.Builder |
title(String title)
The format of the media stream.
|
GetPlayInfoResponseBody.VideoBase.Builder |
videoId(String videoId)
The type of the media stream.
|
public GetPlayInfoResponseBody.VideoBase.Builder coverURL(String coverURL)
public GetPlayInfoResponseBody.VideoBase.Builder creationTime(String creationTime)
* **video** * **audio** By default, video and audio streams are returned.
public GetPlayInfoResponseBody.VideoBase.Builder danMuURL(String danMuURL)
public GetPlayInfoResponseBody.VideoBase.Builder duration(String duration)
public GetPlayInfoResponseBody.VideoBase.Builder mediaType(String mediaType)
* Log on to the [ApsaraVideo VOD](https://vod.console.aliyun.com) console. In the left-side navigation pane, choose **Media Files** > **Audio/Video**. On the Video and Audio page, you can view the ID of the audio or video file. This method is applicable to files that are uploaded by using the ApsaraVideo VOD console. * Obtain the value of the VideoId parameter when you call the [CreateUploadVideo](~~55407~~) operation to upload files. * Obtain the value of the VideoId parameter by calling the [SearchMedia](~~86044~~) operation. This method is applicable to files that have been uploaded.
public GetPlayInfoResponseBody.VideoBase.Builder status(String status)
public GetPlayInfoResponseBody.VideoBase.Builder title(String title)
* If the media file is a video file, the valid values are **mp4** and **m3u8**. * If the media file is an audio-only file, the value is **mp3**.
public GetPlayInfoResponseBody.VideoBase.Builder videoId(String videoId)
public GetPlayInfoResponseBody.VideoBase build()
Copyright © 2023. All rights reserved.