public static final class AliyunMixRecorderDisplayParam.Builder
extends java.lang.Object
AlivcMixRecorderDisplayParam
builder static inner class.Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
AliyunMixRecorderDisplayParam |
build()
Returns a
AlivcMixRecorderDisplayParam built from the parameters previously set. |
AliyunMixRecorderDisplayParam.Builder |
displayMode(VideoDisplayMode val)
Sets the
mDisplayMode and returns a reference to this Builder so that the methods can be chained together. |
AliyunMixRecorderDisplayParam.Builder |
layoutLevel(int val)
Sets the
mLayoutLevel and returns a reference to this Builder so that the methods can be chained together. |
AliyunMixRecorderDisplayParam.Builder |
layoutParam(AliyunMixTrackLayoutParam val)
Sets the
mLayoutParam and returns a reference to this Builder so that the methods can be chained together. |
public AliyunMixRecorderDisplayParam.Builder displayMode(VideoDisplayMode val)
mDisplayMode
and returns a reference to this Builder so that the methods can be chained together.
Sets the display mode of this track.val
- The mDisplayMode
.public AliyunMixRecorderDisplayParam.Builder layoutLevel(int val)
mLayoutLevel
and returns a reference to this Builder so that the methods can be chained together.
Sets the layer of this track. Tracks in a higher layer take priority over the ones in a lower layer during rendering.val
- The mLayoutLevel
.public AliyunMixRecorderDisplayParam.Builder layoutParam(AliyunMixTrackLayoutParam val)
mLayoutParam
and returns a reference to this Builder so that the methods can be chained together.
Sets the layout parameter of this track. For more information, see AliyunMixTrackLayoutParam
.val
- the mLayoutParam
to setpublic AliyunMixRecorderDisplayParam build()
AlivcMixRecorderDisplayParam
built from the parameters previously set.AlivcMixRecorderDisplayParam
built with parameters of AlivcMixRecorderDisplayParam.Builder
.