public static final class AliyunMixMediaInfoParam.Builder
extends java.lang.Object
AliyunMixMediaInfoParam
builder static inner class.构造器和说明 |
---|
Builder() |
限定符和类型 | 方法和说明 |
---|---|
AliyunMixMediaInfoParam |
build()
Returns a
AliyunMixMediaInfoParam built from the parameters previously set. |
AliyunMixMediaInfoParam.Builder |
mixDisplayParam(AliyunMixRecorderDisplayParam mixDisplayParam)
Sets the
mMixDisplayParam and returns a reference to this Builder so that the methods can be chained together. |
AliyunMixMediaInfoParam.Builder |
mixVideoFilePath(java.lang.String mixVideoFilePath)
Sets the
mFilePath and returns a reference to this Builder so that the methods can be chained together. |
AliyunMixMediaInfoParam.Builder |
recordDisplayParam(AliyunMixRecorderDisplayParam recordDisplayParam)
Sets the
mRecordDisplayParam and returns a reference to this Builder so that the methods can be chained together. |
AliyunMixMediaInfoParam.Builder |
streamEndTimeMills(long streamEndTimeMills)
Sets the
mStreamEndTimeMills and returns a reference to this Builder so that the methods can be chained together. |
AliyunMixMediaInfoParam.Builder |
streamStartTimeMills(long streamStartTimeMills)
Sets the
mStreamStartTimeMills and returns a reference to this Builder so that the methods can be chained together. |
public AliyunMixMediaInfoParam.Builder mixVideoFilePath(java.lang.String mixVideoFilePath)
mFilePath
and returns a reference to this Builder so that the methods can be chained together.
设置合拍视频文件路径mixVideoFilePath
- the mFilePath
to setpublic AliyunMixMediaInfoParam.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 AliyunMixMediaInfoParam.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 AliyunMixMediaInfoParam.Builder recordDisplayParam(AliyunMixRecorderDisplayParam recordDisplayParam)
mRecordDisplayParam
and returns a reference to this Builder so that the methods can be chained together.
设置合拍摄像头采集窗口的显示布局参数recordDisplayParam
- the mRecordDisplayParam
to setpublic AliyunMixMediaInfoParam.Builder mixDisplayParam(AliyunMixRecorderDisplayParam mixDisplayParam)
mMixDisplayParam
and returns a reference to this Builder so that the methods can be chained together.
设置合拍样本视频窗口显示布局参数mixDisplayParam
- the mMixDisplayParam
to setpublic AliyunMixMediaInfoParam build()
AliyunMixMediaInfoParam
built from the parameters previously set.AliyunMixMediaInfoParam
built with parameters of this AliyunMixMediaInfoParam.Builder