AudioTranscriberResult
class AudioTranscriberResult: TaskResult, NSCopyingRepresents the transcription results generated by MPPAudioTranscriber.
-
Initializes a new
MPPAudioTranscriberResultwith the given segments and timestamp.Declaration
Swift
init(segments: [AudioTranscriberSegment], timestampInMilliseconds: Int)Parameters
segmentsThe transcribed segments emitted by this invocation.
timestampInMillisecondsThe timestamp (in milliseconds) for this result.
Return Value
An initialized
MPPAudioTranscriberResult. -
The transcribed segments emitted by this invocation.
Declaration
Swift
var segments: [AudioTranscriberSegment] { get } -
Convenience property returning the concatenated transcript of all
segments.Declaration
Swift
var text: String { get }