public static final class AliyunMixMediaInfoParam.Builder
extends java.lang.Object
AliyunMixMediaInfoParam
builder static inner class.Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
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.
Sets the path of the sample video of the duet.mixVideoFilePath
- The mFilePath
.public AliyunMixMediaInfoParam.Builder streamStartTimeMills(long streamStartTimeMills)
mStreamStartTimeMills
and returns a reference to this Builder so that the methods can be chained together.
Sets the start time of the sample video stream. For example, to choose the 5th to 20th seconds of a 30-second video stream, set the start time to 5,000 milliseconds.streamStartTimeMills
- The mStreamStartTimeMills
.public AliyunMixMediaInfoParam.Builder streamEndTimeMills(long streamEndTimeMills)
mStreamEndTimeMills
and returns a reference to this Builder so that the methods can be chained together.
Sets the end time of the sample video stream.streamEndTimeMills
- The mStreamEndTimeMills
.public AliyunMixMediaInfoParam.Builder recordDisplayParam(AliyunMixRecorderDisplayParam recordDisplayParam)
mRecordDisplayParam
and returns a reference to this Builder so that the methods can be chained together.
Sets the display parameter of the view for displaying the video captured by camera.recordDisplayParam
- The mRecordDisplayParam
.public AliyunMixMediaInfoParam.Builder mixDisplayParam(AliyunMixRecorderDisplayParam mixDisplayParam)
mMixDisplayParam
and returns a reference to this Builder so that the methods can be chained together.
Sets the display parameter of the view for displaying the sample video of the duet.mixDisplayParam
- The mMixDisplayParam
.public AliyunMixMediaInfoParam build()
AliyunMixMediaInfoParam
built from the parameters previously set.AliyunMixMediaInfoParam
built with parameters of AliyunMixMediaInfoParam.Builder
.