com.aliyun.svideosdk.editor

## Interface OnComposeCallback

-     public interface OnComposeCallback

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `onCancel()` The callback when the export is successfully canceled.
    `void` | `onComplete()` The callback when the export is complete.
    `void` | `onError(int errorCode)` The callback when an error occurs while exporting the video.
    `void` | `onProgress(int progress)` The callback that outputs the progress of the export.

- - ### Method Detail

    - #### onError

          void onError(int errorCode)

      The callback when an error occurs while exporting the video.

    - #### onComplete

          void onComplete()

      The callback when the export is complete. The player is only usable after the export is complete.

    - #### onProgress

          void onProgress(int progress)

      The callback that outputs the progress of the export.
      Parameters:
        `progress` - A percentage value that ranges from 0 to 100.

    - #### onCancel

          void onCancel()

      The callback when the export is successfully canceled.