siriSpeechMetrics
A sensor that provides data describing a user’s speech to Siri.
Declaration
static let siriSpeechMetrics: SRSensorDiscussion
The sample type for this sensor is SRSpeechMetrics.
The metrics provide details about the user’s voice, such as tenor, pitch, cadence, and speech timing, which includes words per minute and the average duration between words.
This sensor doesn’t provide raw audio data. For user privacy, SensorKit removes any transcript strings from the result.
You need to provide a reason to analyze speech by adding the SRSensorUsageSpeechMetrics dictionary to the NSSensorKitUsageDetail key in the information property list.