<!--
{
  "availability" : [
    "iOS: 14.0.0 -",
    "iPadOS: 14.0.0 -",
    "macCatalyst: 14.0.0 -",
    "macOS: 11.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "ClassKit",
  "identifier" : "/documentation/ClassKit/CLSProgressReportingCapability/Kind-swift.enum/duration",
  "metadataVersion" : "0.1.0",
  "role" : "Case",
  "symbol" : {
    "kind" : "Case",
    "modules" : [
      "ClassKit"
    ],
    "preciseIdentifier" : "c:@E@CLSProgressReportingCapabilityKind@CLSProgressReportingCapabilityKindDuration"
  },
  "title" : "CLSProgressReportingCapability.Kind.duration"
}
-->

# CLSProgressReportingCapability.Kind.duration

Time spent performing the task.

```
case duration
```

## Discussion

The framework automatically measures the time that a student spends working on a task, so all contexts have a [`CLSProgressReportingCapability.Kind.duration`](/documentation/ClassKit/CLSProgressReportingCapability/Kind-swift.enum/duration) capability by default. You can replace the default one with a new one if you want to customize the [`details`](/documentation/ClassKit/CLSProgressReportingCapability/details) 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)