<!--
{
  "availability" : [
    "watchOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "WatchKit",
  "identifier" : "/documentation/WatchKit/WKAudioRecorderControllerOptionsMaximumDurationKey",
  "metadataVersion" : "0.1.0",
  "role" : "Global Variable",
  "symbol" : {
    "kind" : "Global Variable",
    "modules" : [
      "WatchKit"
    ],
    "preciseIdentifier" : "c:@WKAudioRecorderControllerOptionsMaximumDurationKey"
  },
  "title" : "WKAudioRecorderControllerOptionsMaximumDurationKey"
}
-->

# WKAudioRecorderControllerOptionsMaximumDurationKey

The maximum length of recorded audio clips. The value of this key is an <doc://com.apple.documentation/documentation/Foundation/NSNumber> object with an <doc://com.apple.documentation/documentation/Foundation/TimeInterval> value containing the maximum duration in seconds. If you do not specify this option, there is no maximum recording time.

```
let WKAudioRecorderControllerOptionsMaximumDurationKey: String
```

---

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)