makeAsyncIterator
TypeScriptmakeAsyncIterator(): VideoReader_AsyncFrames_IteratorSwift declarationfunc makeAsyncIterator() -> VideoReader.AsyncFrames.IteratorConstructs an iterator.
struct · iOS 16.0+ · SDK 27.1
struct AsyncFramesAn async sequence of video frames. This sequence allows iterating through the file only once.
makeAsyncIterator(): VideoReader_AsyncFrames_IteratorSwift declarationfunc makeAsyncIterator() -> VideoReader.AsyncFrames.IteratorConstructs an iterator.
get videoDuration(): _CoreMedia_CMTimeSwift declarationlet videoDuration: CMTimeThe video duration.
get nominalFrameRate(): numberSwift declarationlet nominalFrameRate: FloatThe nominal frame rate.
get url(): stringSwift declarationlet url: URLThe video file URL, used when throwing an error.
get count(): (number) | nullSwift declarationvar count: Int? { get }The number of frames. For this sequence count is always nil.
get frameSize(): { width: number; height: number }Swift declarationlet frameSize: CGSizeThe frame size.
get timescale(): numberSwift declarationlet timescale: CMTimeScaleThe timescale of the video track.
No declarations were skipped in this snapshot.