---
title: SRKeyboardMetrics.ProbabilityMetric
framework: sensorkit
role: symbol
role_heading: Class
path: sensorkit/srkeyboardmetrics/probabilitymetric
---

# SRKeyboardMetrics.ProbabilityMetric

A likelihood of occurrence.

## Declaration

```swift
class ProbabilityMetric<UnitType> where UnitType : Unit
```

## Overview

Overview The framework derives these values based on raw sensor data.

## Topics

### Sample Values

- [distributionSampleValues](sensorkit/srkeyboardmetrics/probabilitymetric/distributionsamplevalues.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)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Timing Key Use

- [touchDownUp](sensorkit/srkeyboardmetrics/touchdownup.md)
- [touchUpDown](sensorkit/srkeyboardmetrics/touchupdown.md)
- [spaceTouchDownUp](sensorkit/srkeyboardmetrics/spacetouchdownup.md)
- [deleteTouchDownUp](sensorkit/srkeyboardmetrics/deletetouchdownup.md)
- [shortWordCharKeyTouchDownUp](sensorkit/srkeyboardmetrics/shortwordcharkeytouchdownup.md)
- [touchDownDown](sensorkit/srkeyboardmetrics/touchdowndown.md)
- [charKeyToPrediction](sensorkit/srkeyboardmetrics/charkeytoprediction.md)
- [shortWordCharKeyToCharKey](sensorkit/srkeyboardmetrics/shortwordcharkeytocharkey.md)
- [charKeyToAnyTapKey](sensorkit/srkeyboardmetrics/charkeytoanytapkey.md)
- [anyTapToCharKey](sensorkit/srkeyboardmetrics/anytaptocharkey.md)
- [spaceToCharKey](sensorkit/srkeyboardmetrics/spacetocharkey.md)
- [charKeyToSpaceKey](sensorkit/srkeyboardmetrics/charkeytospacekey.md)
- [spaceToDeleteKey](sensorkit/srkeyboardmetrics/spacetodeletekey.md)
- [deleteToSpaceKey](sensorkit/srkeyboardmetrics/deletetospacekey.md)
- [spaceToSpaceKey](sensorkit/srkeyboardmetrics/spacetospacekey.md)
