public static final class AliyunMixStream.Builder
extends java.lang.Object
AliyunMixStream builder static inner class.| 构造器和说明 |
|---|
Builder() |
| 限定符和类型 | 方法和说明 |
|---|---|
AliyunMixStream |
build()
Returns a
AliyunMixStream built from the parameters previously set. |
AliyunMixStream.Builder |
displayMode(VideoDisplayMode displayMode)
Sets the
mDisplayMode and returns a reference to this Builder so that the methods can be chained together. |
AliyunMixStream.Builder |
filePath(java.lang.String filePath)
Sets the
mFilePath and returns a reference to this Builder so that the methods can be chained together. |
AliyunMixStream.Builder |
streamEndTimeMills(long streamEndTimeMills)
Sets the
mStreamEndTimeMills and returns a reference to this Builder so that the methods can be chained together. |
AliyunMixStream.Builder |
streamStartTimeMills(long streamStartTimeMills)
Sets the
mStreamStartTimeMills and returns a reference to this Builder so that the methods can be chained together. |
public AliyunMixStream.Builder filePath(java.lang.String filePath)
mFilePath and returns a reference to this Builder so that the methods can be chained together.
文件路径filePath - the mFilePath to setpublic AliyunMixStream.Builder streamStartTimeMills(long streamStartTimeMills)
mStreamStartTimeMills and returns a reference to this Builder so that the methods can be chained together.
设置流的开始时间,比如30s的流,选取其中的5-20s,则startTime设置为5000streamStartTimeMills - the mStreamStartTimeMills to setpublic AliyunMixStream.Builder streamEndTimeMills(long streamEndTimeMills)
mStreamEndTimeMills and returns a reference to this Builder so that the methods can be chained together.
结束时间streamEndTimeMills - the mStreamEndTimeMills to setpublic AliyunMixStream.Builder displayMode(VideoDisplayMode displayMode)
mDisplayMode and returns a reference to this Builder so that the methods can be chained together.
显示模式displayMode - the mDisplayMode to setpublic AliyunMixStream build()
AliyunMixStream built from the parameters previously set.AliyunMixStream built with parameters of this AliyunMixStream.Builder