Files
Rajarshee Chatterjee 74808f086e feat: Replace Legacy Media Controls with Nitro-Powered Playback (#1896)
* 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>
2026-07-24 23:42:17 +05:30

35 lines
734 B
Swift
Generated

///
/// TtsEngine.swift
/// This file was generated by nitrogen. DO NOT MODIFY THIS FILE.
/// https://github.com/mrousavy/nitro
/// Copyright © Marc Rousavy @ Margelo
///
import NitroModules
/**
* Represents an instance of `TtsEngine`, backed by a C++ struct.
*/
public typealias TtsEngine = margelo.nitro.nitrotts.TtsEngine
public extension TtsEngine {
private typealias bridge = margelo.nitro.nitrotts.bridge.swift
/**
* Create a new instance of `TtsEngine`.
*/
init(name: String, label: String) {
self.init(std.string(name), std.string(label))
}
@inline(__always)
var name: String {
return String(self.__name)
}
@inline(__always)
var label: String {
return String(self.__label)
}
}