One Logo Pool Ball
AVFoundation · IOS API REFERENCE

AVCompositionTrackSegment

class · iOS 4.0+ · SDK 27.1

class AVCompositionTrackSegment

Members (5)

init · iOS 4.0+

init

TypeScript
static initTimeRange(timeRange: _CoreMedia_CMTimeRange): AVCompositionTrackSegment
Swift declaration
init(timeRange: CMTimeRange)
init · iOS 4.0+

init

TypeScript
static initUrlTrackIDSourceTimeRangeTargetTimeRange(URL: string, trackID: number, sourceTimeRange: _CoreMedia_CMTimeRange, targetTimeRange: _CoreMedia_CMTimeRange): AVCompositionTrackSegment
Swift declaration
init(url URL: URL, trackID: CMPersistentTrackID, sourceTimeRange: CMTimeRange, targetTimeRange: CMTimeRange)
get · iOS 4.0+

isEmpty

TypeScript
get isEmpty(): boolean
Swift declaration
var isEmpty: Bool { get }
get · iOS 4.0+

sourceTrackID

TypeScript
get sourceTrackID(): number
Swift declaration
var sourceTrackID: CMPersistentTrackID { get }
get · iOS 4.0+

sourceURL

TypeScript
get sourceURL(): (string) | null
Swift declaration
var sourceURL: URL? { get }

Skipped declarations

1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

AVCompositionTrackSegment.init()

inherited init: cannot prove legal (class declares 4 custom initializers)

All AVFoundation types →