One Logo Pool Ball
Speech · IOS API REFERENCE

SFSpeechLanguageModel.Configuration

class · iOS 17.0+ · SDK 27.1

class Configuration

Members (6)

init · iOS 17.0+

init

TypeScript
static initLanguageModel(languageModel: string): SFSpeechLanguageModel_Configuration
Swift declaration
init(languageModel: URL)
init · iOS 17.0+

init

TypeScript
static initLanguageModelVocabulary(languageModel: string, vocabulary?: (string) | null): SFSpeechLanguageModel_Configuration
Swift declaration
init(languageModel: URL, vocabulary: URL?)
init · iOS 26.0+

init

TypeScript
static initLanguageModelVocabularyWeight(languageModel: string, vocabulary?: (string) | null, weight?: (_Foundation_NSNumber) | null): SFSpeechLanguageModel_Configuration
Swift declaration
init(languageModel: URL, vocabulary: URL?, weight: NSNumber?)
get · iOS 17.0+

languageModel

TypeScript
get languageModel(): string
Swift declaration
var languageModel: URL { get }
get · iOS 17.0+

vocabulary

TypeScript
get vocabulary(): (string) | null
Swift declaration
var vocabulary: URL? { get }
get · iOS 26.0+

weight

TypeScript
get weight(): (_Foundation_NSNumber) | null
Swift declaration
@NSCopying var weight: NSNumber? { get }

Skipped declarations

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

SFSpeechLanguageModel.Configuration.init()

inherited init: cannot prove legal (class declares 3 custom initializers)

All Speech types →