---
title: "init(kind:details:)"
framework: classkit
role: symbol
role_heading: Initializer
path: "classkit/clsprogressreportingcapability/init(kind:details:)"
---

# init(kind:details:)

Creates a new progress reporting capability of the given type with a descriptive string.

## Declaration

```swift
init(kind: CLSProgressReportingCapability.Kind, details: String?)
```

## Parameters

- `kind`: The type of progress reporting, like duration or a final score, that this capability represents.
- `details`: A description of the metric, given as a localized string.
