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

40 lines
849 B
Swift
Generated

///
/// TtsProgress.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 `TtsProgress`, backed by a C++ struct.
*/
public typealias TtsProgress = margelo.nitro.nitrotts.TtsProgress
public extension TtsProgress {
private typealias bridge = margelo.nitro.nitrotts.bridge.swift
/**
* Create a new instance of `TtsProgress`.
*/
init(index: Double, total: Double, paragraphId: String) {
self.init(index, total, std.string(paragraphId))
}
@inline(__always)
var index: Double {
return self.__index
}
@inline(__always)
var total: Double {
return self.__total
}
@inline(__always)
var paragraphId: String {
return String(self.__paragraphId)
}
}