Package-level declarations

Types

Link copied to clipboard
sealed interface TranslateLanguage

Represents a language used for translation. The interface allows for flexibility in defining translation languages, accommodating both specific language codes (e.g., "en-US", "ru-RU") and special cases like "auto" for automatic language detection.

Link copied to clipboard
sealed class TranslationResult
Link copied to clipboard
interface TranslatorApi

Interface for a translation API that translates text from one language to another. The implementation provides two methods: translate and translateInternal.

Link copied to clipboard
abstract class TranslatorMode(name: String) : Mode, TranslatorApi

Functions

Link copied to clipboard