---
title: "read(_:)"
framework: createmlcomponents
role: symbol
role_heading: Type Method
path: "createmlcomponents/videoreader/read(_:)"
---

# read(_:)

Reads a sequence of annotated files as an array of annotated async sequences of video frames.

## Declaration

```swift
static func read<S, Annotation>(_ annotatedFiles: S) async throws -> [AnnotatedFeature<VideoReader.AsyncFrames, Annotation>] where S : Sequence, Annotation : Equatable, Annotation : Sendable, S.Element == AnnotatedFeature<URL, Annotation>
```

## Parameters

- `annotatedFiles`: A sequence of annotated URLs.

## Return Value

Return Value An array of annotated async sequences.

## See Also

### Reading

- [readCamera(configuration:)](createmlcomponents/videoreader/readcamera(configuration:).md)
- [read(contentsOf:)](createmlcomponents/videoreader/read(contentsof:).md)
- [VideoReader.AsyncFrames](createmlcomponents/videoreader/asyncframes.md)
- [VideoReader.CameraAsyncBuffers](createmlcomponents/videoreader/cameraasyncbuffers.md)
- [VideoReader.CameraConfiguration](createmlcomponents/videoreader/cameraconfiguration.md)
