---
title: "captionsNotPresentInPreviousGroups(in:)"
framework: avfoundation
role: symbol
role_heading: Instance Method
path: "avfoundation/avassetreaderoutput/provider/captionsnotpresentinpreviousgroups(in:)"
---

# captionsNotPresentInPreviousGroups(in:)

Returns the set of captions that are present in the given group but were not present in any group previously vended by calls to next().

## Declaration

```swift
func captionsNotPresentInPreviousGroups(in captionGroup: AVCaptionGroup) -> [AVCaption]
```

## Parameters

- `captionGroup`: The group containing the captions of interest.

## Return Value

Return Value An array of AVCaption objects.

## See Also

### Reading media data

- [next()](avfoundation/avassetreaderoutput/provider/next().md)
