TuSDKMediaAssetTimeline Class Reference

Inherits from NSObject
Conforms to TuSDKMediaTimeline
Declared in TuSDKMediaAssetTimeline.h

Overview

操作 Asset 时间轴

  finalSlices

计算后的时间片段

@property (nonatomic, readonly) NSArray<TuSDKMediaTimeSliceEntity*> *finalSlices

Availability

v3.0

Declared In

TuSDKMediaAssetTimeline.h

  canSupportedReverseSlice

是否支持倒序切片 默认:true

@property (nonatomic) BOOL canSupportedReverseSlice

Return Value

true/false

Availability

v3.0

Declared In

TuSDKMediaAssetTimeline.h

– sliceEntityWithSlice:

根据原始时间切片查找切片计算实体对象

- (TuSDKMediaTimeSliceEntity *)sliceEntityWithSlice:(TuSDKMediaTimelineSlice *)timeSlice

Parameters

timeSlice

时间切片

Availability

v3.0

Declared In

TuSDKMediaAssetTimeline.h

– sliceEntityWithOutputTime:

根据实际输出时间查找 TuSDKMediaTimeSliceEntity

- (TuSDKMediaTimeSliceEntity *)sliceEntityWithOutputTime:(CMTime)outputTime

Parameters

outputTime

输出时间

Availability

v3.0

Declared In

TuSDKMediaAssetTimeline.h

– findSliceEntityWithInputTime:

根据实际输出时间查找 TuSDKMediaTimeSliceEntity

- (TuSDKMediaTimeSliceEntity *)findSliceEntityWithInputTime:(CMTime)inputTime

Parameters

outputTime

输入时间

Availability

v3.0.1

Declared In

TuSDKMediaAssetTimeline.h

– createTimeSliceEngtityWithTimeSlice:

根据时间切片创建实体计算对象

- (TuSDKMediaTimeSliceEntity *)createTimeSliceEngtityWithTimeSlice:(TuSDKMediaTimelineSlice *)timeSlice

Parameters

timeSlice

切片信息

Availability

v3.0

Declared In

TuSDKMediaAssetTimeline.h