TuSDKMediaTimeRange Class Reference

Inherits from NSObject
Conforms to NSCopying
Declared in TuSDKMediaTimeRange.h

Overview

特效时间轴

– initWithStart:end:

根据开始时间和结束时间初始化时间范围。 当开始时间大于结束时间时为倒序读取模式

- (instancetype)initWithStart:(CMTime)start end:(CMTime)end

Parameters

start

开始时间

end

结束时间

Return Value

TuSDKMediaTimeRange

Availability

v3.0

Declared In

TuSDKMediaTimeRange.h

– initWithStart:duration:

根据开始时间和结束时间初始化时间范围。 当开始时间大于结束时间时为倒序读取模式

- (instancetype)initWithStart:(CMTime)start duration:(CMTime)duraiton

Parameters

start

开始时间

duration

持续时间

Return Value

TuSDKMediaTimeRange

Availability

v3.0

Declared In

TuSDKMediaTimeRange.h

  start

开始时间

@property (nonatomic) CMTime start

Availability

v3.0

Declared In

TuSDKMediaTimeRange.h

  end

开始时间

@property (nonatomic) CMTime end

Availability

v3.0

Declared In

TuSDKMediaTimeRange.h

  duration

持续时间

@property (nonatomic, readonly) CMTime duration

Availability

v3.0

Declared In

TuSDKMediaTimeRange.h

  cmTimeRange

CMTimeRange 值

@property (nonatomic, readonly) CMTimeRange cmTimeRange

Availability

v3.0

Declared In

TuSDKMediaTimeRange.h

  isReverse

标识该时间区间是否为倒序

@property (nonatomic, readonly) BOOL isReverse

Availability

v3.0

Declared In

TuSDKMediaTimeRange.h

  isValid

标识该时间区间是否有效

@property (nonatomic, readonly) BOOL isValid

Availability

v3.0

Declared In

TuSDKMediaTimeRange.h