flutter_azure_tts library
Classes
- AudioCache
- Specialized cache for storing generated audio data to improve performance.
- AudioChunk
- Represents a chunk of audio data in a streaming response.
- AudioFailedBadGateway
- AudioFailedBadRequest
- AudioFailedTooManyRequest
- AudioFailedUnkownError
- AudioFailedUnsupported
- AudioOutputFormat
- AudioResponse
- AudioStreamResponse
- Streaming audio response that provides real-time audio chunks.
- AudioSuccess
- The request was successful.
- AuthResponse
- Represents the response object of a token request. Must be implemented by all the response cases objects.
- FlutterAzureTts
- Main entry point for Azure Text-to-Speech functionality.
- RetryPolicy
- Configurable retry policy for handling transient failures in HTTP requests.
- StreamProgress
- Progress information for streaming audio generation.
- StyleSsml
- TokenFailure
- Token request failed.
- TokenSuccess
- Token request success response.
- TtsParams
- TtsParamsBuilder
- Builder pattern implementation for creating TtsParams with comprehensive validation.
- TtsStreamingParams
- Extended TTS parameters specifically for streaming audio requests.
- TtsStreamingParamsBuilder
- Builder for creating TtsStreamingParams with comprehensive validation.
- Voice
- VoiceFilter
- Utility class for filtering voices using a fluent, chainable API.
- VoicesFailedBadGateWay
- VoicesFailedBadRequest
- VoicesFailedTooManyRequests
- VoicesFailedUnkownError
- VoicesResponse
- VoicesSuccess
Enums
- BufferStrategy
- Buffering strategy for streaming audio.
- ChunkSize
- Preferred chunk size for streaming audio.
- VoiceRole
- Represent who the voice imitates
- VoiceStyle
Extensions
-
VoiceListExtensions
on List<
Voice> - Extension methods for List<Voice> to provide easy access to filtering.
Exceptions / Errors
- AuthenticationException
- Exception thrown when authentication or authorization fails.
- AzureException
- AzureTtsException
- Base class for all Azure Text-to-Speech related exceptions.
- InitializationException
- Exception thrown when there are problems with service initialization.
- NetworkException
- Exception thrown when network communication fails.
- RateLimitException
- Exception thrown when API rate limits are exceeded.
- Exception thrown when Azure services are temporarily unavailable.
- ValidationException
- Exception thrown when input validation fails.