Instance Property

substringRange

The range information for the transcription segment’s substring, relative to the overall transcription.

Declaration

var substringRange: NSRange { get }

Discussion

Use the range information to find the position of the segment within the formattedString property of the SFTranscription object containing this segment.

See Also

Transcribing the Segment

var substring: String

The string representation of the utterance in the transcription segment.

var alternativeSubstrings: [String]

An array of alternate interpretations of the utterance in the transcription segment.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software