keyboardMetrics
A sensor that provides information about keyboard usage.
Declaration
static let keyboardMetrics: SRSensorDiscussion
The sample type for this sensor is SRKeyboardMetrics.
You need to provide a reason to record keyboard metrics by adding the SRSensorUsageKeyboardMetrics dictionary to the NSSensorKitUsageDetail key in the information property list.