One Logo Pool Ball
AVFoundation · IOS API REFERENCE

AVPlayerItemIntegratedTimeline

class · iOS 18.0+ · SDK 27.1

class AVPlayerItemIntegratedTimeline

Members (9)

get · iOS 18.0+

snapshotsOutOfSyncNotification

TypeScript
static get snapshotsOutOfSyncNotification(): _Foundation_NSNotification_Name
Swift declaration
class let snapshotsOutOfSyncNotification: NSNotification.Name
get · iOS 18.0+

snapshotsOutOfSyncReasonKey

TypeScript
static get snapshotsOutOfSyncReasonKey(): string
Swift declaration
class let snapshotsOutOfSyncReasonKey: String
method · iOS 18.0+

seek

TypeScript
seekToCompletionHandler(date: globalThis.Date, completionHandler?: (((arg0: boolean) => void)) | null): void
Swift declaration
func seek(to date: Date) async -> Bool
method · iOS 18.0+

seek

TypeScript
seekToToleranceBeforeToleranceAfterCompletionHandler(time: _CoreMedia_CMTime, toleranceBefore: _CoreMedia_CMTime, toleranceAfter: _CoreMedia_CMTime, completionHandler?: (((arg0: boolean) => void)) | null): void
Swift declaration
func seek(to time: CMTime, toleranceBefore: CMTime, toleranceAfter: CMTime) async -> Bool
get · iOS 18.0+

currentDate

TypeScript
get currentDate(): (globalThis.Date) | null
Swift declaration
var currentDate: Date? { get }
get · iOS 18.0+

currentSnapshot

TypeScript
get currentSnapshot(): AVPlayerItemIntegratedTimelineSnapshot
Swift declaration
var currentSnapshot: AVPlayerItemIntegratedTimelineSnapshot { get }
get · iOS 18.0+

currentTime

TypeScript
get currentTime(): _CoreMedia_CMTime
Swift declaration
var currentTime: CMTime { get }
method · iOS 18.0+

boundaryTimes

TypeScript
boundaryTimes(segment: AVPlayerItemSegment, offsetsIntoSegment: Array<_CoreMedia_CMTime>): AVPlayerItemIntegratedTimeline_BoundaryTimes
Swift declaration
func boundaryTimes(for segment: AVPlayerItemSegment, offsetsIntoSegment: [CMTime]) -> AVPlayerItemIntegratedTimeline.BoundaryTimes

Returns an asynchronous sequence of Times every time playback reaches segmentTime in the segment. One can configure boundaryTimes for traversal of a single point segment. If the segment is no longer mappable to the current timeline, the sequence will end.

method · iOS 18.0+

periodicTimes

TypeScript
periodicTimes(forInterval: _CoreMedia_CMTime): AVPlayerItemIntegratedTimeline_PeriodicTimes
Swift declaration
func periodicTimes(forInterval: CMTime) -> AVPlayerItemIntegratedTimeline.PeriodicTimes

Returns an asynchronous sequence of Times periodically as playback progresses.

Skipped declarations

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

AVPlayerItemIntegratedTimeline.init()

inherited init: clang: 'init' is unavailable

All AVFoundation types →