AliyunEffectTimeFilter

@interface AliyunEffectTimeFilter : AliyunEffect

* A model class that defines timeline effects.

  • * The start time of the timeline effect.

    Declaration

    Objective-C

    @property (nonatomic) float startTime;
  • * The end time of the timeline effect.

    Declaration

    Objective-C

    @property (nonatomic) float endTime;
  • * The timeline effect type.

    Declaration

    Objective-C

    @property (nonatomic) TimeFilterType type;
  • * The parameter of the timeline effect.

    1. Indicates the playback speed if the timeline effect is set to TimeFilterTypeSpeed. It is recommended to set a value between 0.5 to 2.
    2. Indicates the number of repeats if the timeline effect is set to TimeFilterTypeRepeat.

    Declaration

    Objective-C

    @property (nonatomic) float param;
  • * Whether to keep the original duration of the playback timeline.

    For example, if a 10-second video is played at half of the original speed, the playback timeline duration is 10 seconds if originDuration is set to YES and 20 seconds if originDuration is set to NO.

    Declaration

    Objective-C

    @property (nonatomic) BOOL originDuration;
  • Deprecated

    deprecated

    * Internal method.

    Declaration

    Objective-C

    - (id)initWithRestore:(NSDictionary *)dict;

    Parameters

    dict

    The initialization parameter.

    Return Value

    AliyunEffectTimeFilter