One Logo Pool Ball
SensorKit · IOS API REFERENCE

SRSpeechMetrics

class · iOS 17.0+ · SDK 27.1

class SRSpeechMetrics

Members (8)

get · iOS 17.0+

audioLevel

TypeScript
get audioLevel(): (SRAudioLevel) | null
Swift declaration
var audioLevel: SRAudioLevel? { get }
get · iOS 17.0+

sessionFlags

TypeScript
get sessionFlags(): SRSpeechMetrics_SessionFlags
Swift declaration
var sessionFlags: SRSpeechMetrics.SessionFlags { get }
get · iOS 17.0+

sessionIdentifier

TypeScript
get sessionIdentifier(): string
Swift declaration
var sessionIdentifier: String { get }
get · iOS 17.0+

soundClassification

TypeScript
get soundClassification(): (_SoundAnalysis_SNClassificationResult) | null
Swift declaration
var soundClassification: SNClassificationResult? { get }
get · iOS 17.0+

speechExpression

TypeScript
get speechExpression(): (SRSpeechExpression) | null
Swift declaration
var speechExpression: SRSpeechExpression? { get }
get · iOS 17.0+

speechRecognition

TypeScript
get speechRecognition(): (_Speech_SFSpeechRecognitionResult) | null
Swift declaration
var speechRecognition: SFSpeechRecognitionResult? { get }
get · iOS 17.2+

timeSinceAudioStart

TypeScript
get timeSinceAudioStart(): number
Swift declaration
var timeSinceAudioStart: TimeInterval { get }
get · iOS 17.0+

timestamp

TypeScript
get timestamp(): globalThis.Date
Swift declaration
var timestamp: Date { get }

Skipped declarations

1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

SRSpeechMetrics.init()

inherited init: clang: 'init' is unavailable

All SensorKit types →