com.aliyun.svideosdk.common.struct.effect

## Class TrackEffectMV.Builder

- java.lang.Object
- - com.aliyun.svideosdk.common.struct.effect.TrackEffectMV.Builder

- Enclosing class:
    TrackEffectMV

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

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `Builder()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `TrackEffectMV` | `build()` 构建音频流对象
    `TrackEffectMV.Builder` | `duration(long duration, java.util.concurrent.TimeUnit timeUnit)` 设置流的持续时长,
    `TrackEffectMV.Builder` | `source(Source source)` 设置资源路径
    `TrackEffectMV.Builder` | `startTime(long startTime, java.util.concurrent.TimeUnit timeUnit)` 设置音频流在轨道的开始时间, 单位： 毫秒

    - ### 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

    - #### source

          public TrackEffectMV.Builder source(Source source)

      设置资源路径
      Parameters:
        `source` - 资源路径
      Returns:

    - #### startTime

          public TrackEffectMV.Builder startTime(long startTime,
                                                 java.util.concurrent.TimeUnit timeUnit)

      设置音频流在轨道的开始时间, 单位： 毫秒
      Parameters:
        `startTime` -
        `timeUnit` -
      Returns:
        this

    - #### duration

          public TrackEffectMV.Builder duration(long duration,
                                                java.util.concurrent.TimeUnit timeUnit)

      设置流的持续时长,
      Parameters:
        `duration` - 单位：毫秒
        `timeUnit` -
      Returns:

    - #### build

          public TrackEffectMV build()

      构建音频流对象
      Returns:
        `TrackEffectMV`