com.aliyun.svideosdk.editor.template

## Interface AliyunTemplateEditor

- All Superinterfaces:
    AliyunTemplatePlayer

      public interface AliyunTemplateEditor
      extends AliyunTemplatePlayer

  sdk version >= v3.27.0

  template editor

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `long` | `getMainClipStartTime(int clipIndex)` Gets start time of the main clip.
    `void` | `updateCaption(AliyunTemplateTextParam param, java.lang.String text)` update the template text
    `void` | `updateMediaClip(AliyunTemplateVideoParam param, AliyunClip clip)` Update the media clip.

    - ### Methods inherited from interface com.aliyun.svideosdk.editor.template.AliyunTemplatePlayer

      `getAllParams, getCurrentPlayPosition, getDuration, getEditorProject, init, isPaused, isPlaying, onDestroy, pause, play, seek, setPlayerCallBack`

- - ### Method Detail

    - #### updateMediaClip

          void updateMediaClip(AliyunTemplateVideoParam param,
                               AliyunClip clip)

      Update the media clip.
      Parameters:
        `param` - template param
        `clip` - media clip

    - #### updateCaption

          void updateCaption(AliyunTemplateTextParam param,
                             java.lang.String text)

      update the template text
      Parameters:
        `param` - template param
        `text` - text

    - #### getMainClipStartTime

          long getMainClipStartTime(int clipIndex)

      Gets start time of the main clip.
      Parameters:
        `clipIndex` - The index of a clip.
      Returns:
        The start time of the clip.