TuSDKMediaTimeline Protocol Reference
Conforms to | NSObject |
---|---|
Declared in | TuSDKMediaTimeline.h |
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 |
---|
Availability
v3.0
Declared In
TuSDKMediaTimeline.h
– removeAllMediaTimeSlices
required method
移除所有特效片段
- (void)removeAllMediaTimeSlices
Availability
v3.0
Declared In
TuSDKMediaTimeline.h