com.aliyun.svideosdk.editor.resource

## Class AliyunResTask

- java.lang.Object
- - com.aliyun.svideosdk.editor.resource.AliyunResTask

- Direct Known Subclasses:
    AliyunDraftResTask

      public abstract class AliyunResTask
      extends java.lang.Object

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class and Description
    --- | ---
    `static interface` | `AliyunResTask.HandleCallback`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `AliyunResTask(AliyunResModuleType resModuleType, AliyunResType resType, Source source, AliyunResTask.HandleCallback handleCallback)`

  - ### Method Summary

    All Methods Instance Methods Abstract Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `AliyunResModuleType` | `getResModuleType()` Gets resource module type.
    `AliyunResType` | `getResType()` Gets resource type.
    `Source` | `getSource()` Gets the resource.
    `void` | `onHandleCallback(Source source)` Handle callback.
    `void` | `onIgnore()` Ignore current resources.
    `abstract void` | `onRemove()` Remove the corresponding clip of the current resource.

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

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

- - ### Constructor Detail

    - #### AliyunResTask

          public AliyunResTask(AliyunResModuleType resModuleType,
                               AliyunResType resType,
                               Source source,
                               AliyunResTask.HandleCallback handleCallback)

  - ### Method Detail

    - #### getResModuleType

          public AliyunResModuleType getResModuleType()

      Gets resource module type.
      Returns:
        resource module type.

    - #### getResType

          public AliyunResType getResType()

      Gets resource type.
      Returns:
        resource type.

    - #### getSource

          public Source getSource()

      Gets the resource.
      Returns:
        resource

    - #### onHandleCallback

          public void onHandleCallback(Source source)

      Handle callback.

    - #### onIgnore

          public void onIgnore()

      Ignore current resources.

    - #### onRemove

          public abstract void onRemove()

      Remove the corresponding clip of the current resource.