---
title: MXForegroundExitData
framework: metrickit
role: symbol
role_heading: Class
path: metrickit/mxforegroundexitdata
---

# MXForegroundExitData

An object representing counts for the different types of foreground app exits.

## Declaration

```swift
class MXForegroundExitData
```

## Topics

### Reading the Normal Exit Count

- [cumulativeNormalAppExitCount](metrickit/mxforegroundexitdata/cumulativenormalappexitcount.md)

### Reading the Abnormal Exit Count

- [cumulativeAbnormalExitCount](metrickit/mxforegroundexitdata/cumulativeabnormalexitcount.md)

### Reading the System Termination Count

- [cumulativeAppWatchdogExitCount](metrickit/mxforegroundexitdata/cumulativeappwatchdogexitcount.md)
- [cumulativeMemoryResourceLimitExitCount](metrickit/mxforegroundexitdata/cumulativememoryresourcelimitexitcount.md)

### Reading the Crash Count

- [cumulativeBadAccessExitCount](metrickit/mxforegroundexitdata/cumulativebadaccessexitcount.md)
- [cumulativeIllegalInstructionExitCount](metrickit/mxforegroundexitdata/cumulativeillegalinstructionexitcount.md)

### Initializers

- [init(coder:)](metrickit/mxforegroundexitdata/init(coder:).md)

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSCoding](foundation/nscoding.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [NSSecureCoding](foundation/nssecurecoding.md)

## See Also

### App performance metrics

- [MXAppRunTimeMetric](metrickit/mxappruntimemetric.md)
- [MXAppExitMetric](metrickit/mxappexitmetric.md)
- [MXBackgroundExitData](metrickit/mxbackgroundexitdata.md)
- [MXMemoryMetric](metrickit/mxmemorymetric.md)
