SwiftstructTextToSpeech
struct TextToSpeech.CoreSynthesizer.Voice
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolSwift.CustomStringConvertible
- protocolSwift.Decodable
- protocolSwift.Encodable
- protocolSwift.Equatable
- protocolSwift.Hashable
- protocolSwift.Identifiable
- protocolSwift._ObjectiveCBridgeable
Members 38
- func
static _conditionallyBridgeFromObjectiveC(_: TTSSpeechVoice, result: inout TextToSpeech.CoreSynthesizer.Voice?) -> Bool - func
static _forceBridgeFromObjectiveC(_: TTSSpeechVoice, result: inout TextToSpeech.CoreSynthesizer.Voice?) -> () - func
static _unconditionallyBridgeFromObjectiveC(TTSSpeechVoice?) -> TextToSpeech.CoreSynthesizer.Voice - field
var _primaryLocales: CollectionsInternal.OrderedSet<String> - field
var _secondaryLocales: CollectionsInternal.OrderedSet<String> - field
let alternateIdentifiers: [String]+0x10 - field
let assetId: TextToSpeech.CoreSynthesizer.Voice.AssetIdentifier? - field
let componentDescription: AudioComponentDescription - field
var diskSizeBytes: UInt32? - field
var downloadSizeBytes: UInt32? - field
let gender: TextToSpeech.CoreSynthesizer.Voice.Gender+0x39 - field
let id: String+0x0 - field
let name: String+0x28 - field
var newerAssetId: TextToSpeech.CoreSynthesizer.Voice.AssetIdentifier? - field
let quality: TextToSpeech.CoreSynthesizer.Voice.Quality+0x38 - field
var state: TextToSpeech.CoreSynthesizer.Voice.State - field
let supersedingVoiceIdentifier: String?+0x18 - field
var traits: TextToSpeech.CoreSynthesizer.Voice.Trait+0x40 - field
let type: TextToSpeech.CoreSynthesizer.Voice.VoiceType+0x48 - func
_bridgeToObjectiveC() -> TTSSpeechVoice - func
fetchAudioUnit() async throws -> AVSpeechSynthesisProviderAudioUnit? - func
has(TextToSpeech.CoreSynthesizer.Voice.Trait) -> Bool - func
sampleText(forLocale: Foundation.Locale?) -> String? - func
speaksLanguage(locale: Foundation.Locale) -> Bool - init
init(id: String, alternateIdentifiers: [String], name: String, quality: TextToSpeech.CoreSynthesizer.Voice.Quality, gender: TextToSpeech.CoreSynthesizer.Voice.Gender, traits: TextToSpeech.CoreSynthesizer.Voice.Trait, type: TextToSpeech.CoreSynthesizer.Voice.VoiceType, primaryLocales: any Collection<Self.Collection.Element == Foundation.Locale>, secondaryLocales: any Collection<Self.Collection.Element == Foundation.Locale>, componentDescription: AudioComponentDescription, downloadSizeBytes: UInt32?, diskSizeBytes: UInt32?, assetId: TextToSpeech.CoreSynthesizer.Voice.AssetIdentifier?, state: TextToSpeech.CoreSynthesizer.Voice.State, newerAssetId: TextToSpeech.CoreSynthesizer.Voice.AssetIdentifier?, supersedingVoiceIdentifier: String?) -> TextToSpeech.CoreSynthesizer.Voice - typealias
typealias ID = Swift.String - typealias
typealias _ObjectiveCType = __C.TTSSpeechVoice - var
var cannonicId: String { get } - var
var description: String { get } - var
var locales: any Collection<Self.Collection.Element == Foundation.Locale> { get } - var
var localizedName: String { get } - var
var localizedNameWithFootprint: String { get } - var
var primaryLocale: Foundation.Locale { get } - var
var primaryLocales: any Collection<Self.Collection.Element == Foundation.Locale> { get set } - var
var sampleText: String? { get } - var
var secondaryLocales: any Collection<Self.Collection.Element == Foundation.Locale> { get set } - var
var synthesisProviderVoice: AVSpeechSynthesisProviderVoice { get } - var
var talentGroupKey: String? { get }
Header
struct TextToSpeech.CoreSynthesizer.Voice { enum Gender { case male case female case unspecified } struct ThirdPartyVoiceDetails { enum CodingKeys { case rawIdentifier case manufacturerName case manufacturerBundleIdentifier } let rawIdentifier: Swift.String let manufacturerName: Swift.String let manufacturerBundleIdentifier: Swift.String init(rawIdentifier: Swift.String, manufacturerName: Swift.String, manufacturerBundleIdentifier: Swift.String) } enum VoiceType { enum SiriVoiceTechnology { case gryphon case neural case neuralAX case nonbranded case natural } case siri(technology: TextToSpeech.CoreSynthesizer.Voice.VoiceType.SiriVoiceTechnology) case thirdParty(TextToSpeech.CoreSynthesizer.Voice.ThirdPartyVoiceDetails) case legacyVocalizer case cerence case custom case personal case eloquence case macintalk var description: Swift.String { get } } enum Quality { case none case supercompact case compact case enhanced case premium var description: Swift.String { get } } struct Trait { let rawValue: Swift.UInt var description: Swift.String { get } static var downloadable: TextToSpeech.CoreSynthesizer.Voice.Trait { get } static var downloading: TextToSpeech.CoreSynthesizer.Voice.Trait { get } static var firstParty: TextToSpeech.CoreSynthesizer.Voice.Trait { get } static var hasNaturalCounterpart: TextToSpeech.CoreSynthesizer.Voice.Trait { get } static var hasNeuralAXCounterpart: TextToSpeech.CoreSynthesizer.Voice.Trait { get } static var hasNeuralCounterpart: TextToSpeech.CoreSynthesizer.Voice.Trait { get } static var hasPremiumSiriCounterpart: TextToSpeech.CoreSynthesizer.Voice.Trait { get } static var hasSuperCompactCounterpart: TextToSpeech.CoreSynthesizer.Voice.Trait { get } static var hasSystemCounterpart: TextToSpeech.CoreSynthesizer.Voice.Trait { get } static var installed: TextToSpeech.CoreSynthesizer.Voice.Trait { get } static var localeDefault: TextToSpeech.CoreSynthesizer.Voice.Trait { get } static var novelty: TextToSpeech.CoreSynthesizer.Voice.Trait { get } static var personal: TextToSpeech.CoreSynthesizer.Voice.Trait { get } static var publicAPIForbidden: TextToSpeech.CoreSynthesizer.Voice.Trait { get } static var siri: TextToSpeech.CoreSynthesizer.Voice.Trait { get } static var superseded: TextToSpeech.CoreSynthesizer.Voice.Trait { get } static var system: TextToSpeech.CoreSynthesizer.Voice.Trait { get } static var thirdParty: TextToSpeech.CoreSynthesizer.Voice.Trait { get } } struct AssetIdentifier { let loader: Swift.String let identifier: Swift.String let version: Swift.Int init(loader: Swift.String, identifier: Swift.String, version: Swift.Int) } enum State { case installed(purgeable: Swift.Bool) case downloadable case downloading } enum CodingKeys { case id case alternateIdentifiers case supersedingVoiceIdentifier case name case quality case gender case traits case type case _primaryLocales case _secondaryLocales case componentDescription case downloadSizeBytes case diskSizeBytes case state case assetId case newerAssetId } let id: Swift.String let alternateIdentifiers: [Swift.String] let supersedingVoiceIdentifier: Swift.String? let name: Swift.String let quality: TextToSpeech.CoreSynthesizer.Voice.Quality let gender: TextToSpeech.CoreSynthesizer.Voice.Gender var traits: TextToSpeech.CoreSynthesizer.Voice.Trait let type: TextToSpeech.CoreSynthesizer.Voice.VoiceType var _primaryLocales: CollectionsInternal.OrderedSet<Swift.String> var _secondaryLocales: CollectionsInternal.OrderedSet<Swift.String> let componentDescription: __C.AudioComponentDescription var downloadSizeBytes: Swift.UInt32? var diskSizeBytes: Swift.UInt32? var state: TextToSpeech.CoreSynthesizer.Voice.State let assetId: TextToSpeech.CoreSynthesizer.Voice.AssetIdentifier? var newerAssetId: TextToSpeech.CoreSynthesizer.Voice.AssetIdentifier? init(id: Swift.String, alternateIdentifiers: [Swift.String], name: Swift.String, quality: TextToSpeech.CoreSynthesizer.Voice.Quality, gender: TextToSpeech.CoreSynthesizer.Voice.Gender, traits: TextToSpeech.CoreSynthesizer.Voice.Trait, type: TextToSpeech.CoreSynthesizer.Voice.VoiceType, primaryLocales: any Swift.Collection<Foundation.Locale>, secondaryLocales: any Swift.Collection<Foundation.Locale>, componentDescription: __C.AudioComponentDescription, downloadSizeBytes: Swift.UInt32?, diskSizeBytes: Swift.UInt32?, assetId: TextToSpeech.CoreSynthesizer.Voice.AssetIdentifier?, state: TextToSpeech.CoreSynthesizer.Voice.State, newerAssetId: TextToSpeech.CoreSynthesizer.Voice.AssetIdentifier?, supersedingVoiceIdentifier: Swift.String?) var cannonicId: Swift.String { get } var description: Swift.String { get } var locales: any Swift.Collection<Foundation.Locale> { get } var localizedName: Swift.String { get } var localizedNameWithFootprint: Swift.String { get } var primaryLocale: Foundation.Locale { get } var primaryLocales: any Swift.Collection<Foundation.Locale> { get set } var sampleText: Swift.String? { get } var secondaryLocales: any Swift.Collection<Foundation.Locale> { get set } var synthesisProviderVoice: __C.AVSpeechSynthesisProviderVoice { get } var talentGroupKey: Swift.String? { get } func sampleText(forLocale: Foundation.Locale?) -> Swift.String? func _bridgeToObjectiveC() -> __C.TTSSpeechVoice func fetchAudioUnit() async throws -> __C.AVSpeechSynthesisProviderAudioUnit? func speaksLanguage(locale: Foundation.Locale) -> Swift.Bool func has(_: TextToSpeech.CoreSynthesizer.Voice.Trait) -> Swift.Bool static func _forceBridgeFromObjectiveC(_: __C.TTSSpeechVoice, result: inout TextToSpeech.CoreSynthesizer.Voice?) static func _conditionallyBridgeFromObjectiveC(_: __C.TTSSpeechVoice, result: inout TextToSpeech.CoreSynthesizer.Voice?) -> Swift.Bool static func _unconditionallyBridgeFromObjectiveC(_: __C.TTSSpeechVoice?) -> TextToSpeech.CoreSynthesizer.Voice }