com.aliyun.svideosdk.crop

## Interface CropCallback

-     public interface CropCallback

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `onCancelComplete()` The callback when the cropping process is successfully canceled.
    `void` | `onComplete(long duration)` The callback when the cropping process is complete.
    `void` | `onError(int code)` The callback when an error occurs during the cropping process.
    `void` | `onProgress(int percent)` The callback that outputs the progress of the cropping process.

- - ### Method Detail

    - #### onProgress

          void onProgress(int percent)

      The callback that outputs the progress of the cropping process.
      Parameters:
        `percent` -

    - #### onError

          void onError(int code)

      The callback when an error occurs during the cropping process.
      Parameters:
        `code` -

    - #### onComplete

          void onComplete(long duration)

      The callback when the cropping process is complete.
      Parameters:
        `duration` - The video duration after the cropping is complete.

    - #### onCancelComplete

          void onCancelComplete()

      The callback when the cropping process is successfully canceled.