<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -",
    "macCatalyst: 26.0.0 -",
    "macOS: 26.0.0 -",
    "tvOS: 26.0.0 -",
    "visionOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Speech",
  "identifier" : "/documentation/Speech/SpeechAnalyzer/finalizeAndFinish(through:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Speech"
    ],
    "preciseIdentifier" : "s:6Speech0A8AnalyzerC17finalizeAndFinish7throughySo6CMTimea_tYaKF"
  },
  "title" : "finalizeAndFinish(through:)"
}
-->

# finalizeAndFinish(through:)

Finishes analysis after finalizing results for a given time-code.

```
final func finalizeAndFinish(through: CMTime) async throws
```

## Parameters

`through`

A time-code of the last audio sample that you want to analyze.

## Discussion

This method finalizes like [`finalize(through:)`](/documentation/Speech/SpeechAnalyzer/finalize(through:)) and finishes analysis like [`finish(after:)`](/documentation/Speech/SpeechAnalyzer/finish(after:)).

> Throws: Various errors including `CancellationError` if analysis is finished early before the given input time.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)