One Logo Pool Ball
Speech · IOS API REFERENCE

SFSpeechError.Code

enum · iOS 17.0+ · SDK 27.1

enum Code

Members (11)

get · iOS 26.0+

audioDisordered

TypeScript
get audioDisordered(): SFSpeechError_Code
Swift declaration
static var audioDisordered: SFSpeechError.Code { get }

The audio input time-code overlaps or precedes prior audio input.

get · iOS 26.0+

moduleOutputFailed

TypeScript
get moduleOutputFailed(): SFSpeechError_Code
Swift declaration
static var moduleOutputFailed: SFSpeechError.Code { get }

The module's result task failed.

get · iOS 26.0+

insufficientResources

TypeScript
get insufficientResources(): SFSpeechError_Code
Swift declaration
static var insufficientResources: SFSpeechError.Code { get }

There are not sufficient resources available on-device to process the incoming transcription request.

get · iOS 26.0+

unexpectedAudioFormat

TypeScript
get unexpectedAudioFormat(): SFSpeechError_Code
Swift declaration
static var unexpectedAudioFormat: SFSpeechError.Code { get }

The audio input is in unexpected format.

get · iOS 26.0+

assetLocaleNotAllocated

TypeScript
get assetLocaleNotAllocated(): SFSpeechError_Code
Swift declaration
static var assetLocaleNotAllocated: SFSpeechError.Code { get }

The asset locale has not been allocated, but module requires it.

get · iOS 26.0+

incompatibleAudioFormats

TypeScript
get incompatibleAudioFormats(): SFSpeechError_Code
Swift declaration
static var incompatibleAudioFormats: SFSpeechError.Code { get }

The selected modules do not have an audio format in common or do not support an audio format.

get · iOS 27.0+

cannotConfigureAudioSystem

TypeScript
get cannotConfigureAudioSystem(): SFSpeechError_Code
Swift declaration
static var cannotConfigureAudioSystem: SFSpeechError.Code { get }

The audio source could not be configured.

get · iOS 26.0+

tooManyAssetLocalesAllocated

TypeScript
get tooManyAssetLocalesAllocated(): SFSpeechError_Code
Swift declaration
static var tooManyAssetLocalesAllocated: SFSpeechError.Code { get }

The application has allocated too many locales.

get · iOS 26.0+

cannotAllocateUnsupportedLocale

TypeScript
get cannotAllocateUnsupportedLocale(): SFSpeechError_Code
Swift declaration
static var cannotAllocateUnsupportedLocale: SFSpeechError.Code { get }

The asset locale being requested is not supported by SpeechFramework.

get · iOS 26.0+

noModel

TypeScript
get noModel(): SFSpeechError_Code
Swift declaration
static var noModel: SFSpeechError.Code { get }

The selected locale/options does not have an appropriate model available or downloadable.

init · iOS 17.0+

init

TypeScript
init(rawValue: number): (SFSpeechError_Code) | null
Swift declaration
init?(rawValue: Int)

Skipped declarations

No declarations were skipped in this snapshot.

All Speech types →