com.aliyun.svideosdk.mixrecorder

## Class AliyunMixMediaInfoParam.Builder

- java.lang.Object
- - com.aliyun.svideosdk.mixrecorder.AliyunMixMediaInfoParam.Builder

- Enclosing class:
    AliyunMixMediaInfoParam

      public static final class AliyunMixMediaInfoParam.Builder
      extends java.lang.Object

  `AliyunMixMediaInfoParam` builder static inner class.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `Builder()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    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.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### Builder

          public Builder()

  - ### Method Detail

    - #### mixVideoFilePath

          public 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. Sets the path of the sample video of the duet.
      Parameters:
        `mixVideoFilePath` - The `mFilePath`.
      Returns:
        A reference to this Builder.

    - #### streamStartTimeMills

          public AliyunMixMediaInfoParam.Builder streamStartTimeMills(long streamStartTimeMills)

      Sets the `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.
      Parameters:
        `streamStartTimeMills` - The `mStreamStartTimeMills`.
      Returns:
        A reference to this Builder.

    - #### streamEndTimeMills

          public AliyunMixMediaInfoParam.Builder streamEndTimeMills(long streamEndTimeMills)

      Sets the `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.
      Parameters:
        `streamEndTimeMills` - The `mStreamEndTimeMills`.
      Returns:
        A reference to this Builder.

    - #### recordDisplayParam

          public AliyunMixMediaInfoParam.Builder recordDisplayParam(AliyunMixRecorderDisplayParam recordDisplayParam)

      Sets the `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.
      Parameters:
        `recordDisplayParam` - The `mRecordDisplayParam`.
      Returns:
        A reference to this Builder.

    - #### mixDisplayParam

          public AliyunMixMediaInfoParam.Builder mixDisplayParam(AliyunMixRecorderDisplayParam mixDisplayParam)

      Sets the `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.
      Parameters:
        `mixDisplayParam` - The `mMixDisplayParam`.
      Returns:
        A reference to this Builder.

    - #### build

          public AliyunMixMediaInfoParam build()

      Returns a `AliyunMixMediaInfoParam` built from the parameters previously set.
      Returns:
        A `AliyunMixMediaInfoParam` built with parameters of `AliyunMixMediaInfoParam.Builder`.