74808f086e
* feat: Replace Legacy Media Controls with Nitro-Powered Playback * feat: Add TTS Engine Selection * chore: Remove User-Facing Error Reporting * refactor: Combine `Tts` and `TtsSession` Imports from `nitro-tts` Module --------- Co-authored-by: Claude <noreply@anthropic.com>
27 lines
873 B
Swift
Generated
27 lines
873 B
Swift
Generated
///
|
|
/// NitroTtsAutolinking.swift
|
|
/// This file was generated by nitrogen. DO NOT MODIFY THIS FILE.
|
|
/// https://github.com/mrousavy/nitro
|
|
/// Copyright © Marc Rousavy @ Margelo
|
|
///
|
|
|
|
import NitroModules
|
|
|
|
// TODO: Use empty enums once Swift supports exporting them as namespaces
|
|
// See: https://github.com/swiftlang/swift/pull/83616
|
|
public final class NitroTtsAutolinking {
|
|
public typealias bridge = margelo.nitro.nitrotts.bridge.swift
|
|
|
|
public static func createTtsFactory() -> bridge.std__shared_ptr_HybridTtsFactorySpec_ {
|
|
let hybridObject = HybridTtsFactory()
|
|
return { () -> bridge.std__shared_ptr_HybridTtsFactorySpec_ in
|
|
let __cxxWrapped = hybridObject.getCxxWrapper()
|
|
return __cxxWrapped.getCxxPart()
|
|
}()
|
|
}
|
|
|
|
public static func isTtsFactoryRecyclable() -> Bool {
|
|
return HybridTtsFactory.self is any RecyclableView.Type
|
|
}
|
|
}
|