TuSDKMediaTimeline Protocol Reference

Conforms to NSObject
Declared in TuSDKMediaTimeline.h

Overview

特效时间轴

  orginSlices required method

特效片段

@property (nonatomic, readonly) NSArray<TuSDKMediaTimelineSlice*> *orginSlices

Availability

v3.0

Declared In

TuSDKMediaTimeline.h

  inputDuration required method

媒体的真实时长

@property (nonatomic) CMTime inputDuration

Availability

v3.0

Declared In

TuSDKMediaTimeline.h

  timelineOutputDuraiton required method

特效特效最终输出的持续时间

@property (nonatomic, readonly) CMTime timelineOutputDuraiton

Availability

v3.0

Declared In

TuSDKMediaTimeline.h

– appendMediaTimeSlice: required method

在原有特效后追加新的特效

- (BOOL)appendMediaTimeSlice:(TuSDKMediaTimelineSlice *_Nonnull)timelineSlice

Parameters

timelineSlice

特效片段

Availability

v3.0

Declared In

TuSDKMediaTimeline.h

– removeMediaTimeSlice: required method

移除特效片段

- (BOOL)removeMediaTimeSlice:(TuSDKMediaTimelineSlice *_Nonnull)timelineSlice

Parameters

timelineSlice

TuSDKMediaTimelineSlice

Availability

v3.0

Declared In

TuSDKMediaTimeline.h

– removeAllMediaTimeSlices required method

移除所有特效片段

- (void)removeAllMediaTimeSlices

Availability

v3.0

Declared In

TuSDKMediaTimeline.h

– resetTimeline required method

重置时间轴

- (void)resetTimeline

Declared In

TuSDKMediaTimeline.h