tmk_translation_platform_interface 0.1.0 copy "tmk_translation_platform_interface: ^0.1.0" to clipboard
tmk_translation_platform_interface: ^0.1.0 copied to clipboard

Platform interface models and contracts for the Timekettle translation Flutter plugin.

tmk_translation_platform_interface #

Timekettle Translation Flutter 插件的平台接口包,定义稳定的 Dart 契约、模型和事件类型。

业务应用通常只需依赖 tmk_translation_flutter。编写测试替身或新的平台实现时,可直接依赖本包:

dependencies:
  tmk_translation_platform_interface: ^0.1.0

提供能力 #

  • TmkTranslationPlatform 平台抽象接口和 token 校验。
  • SDK 设置、运行状态和语言模型。
  • 翻译 session 配置、状态、指标和事件模型。
  • 离线模型查询、下载和删除契约。

本包不包含 MethodChannel/EventChannel 实现,也不直接链接 Android 或 iOS 原生 SDK。

Requirements #

  • Flutter 3.22 或更高版本。
  • Dart 3.10 或更高版本。

License #

本包中的 Flutter/Dart wrapper 源代码使用 Apache License 2.0。该许可证不适用于 Android/iOS 原生 Timekettle Translation SDK、翻译服务、账号凭据、翻译/离线模型及模型文件、Timekettle 商标或其他专有材料;这些内容继续受适用的 Timekettle SDK 与服务协议约束。

0
likes
135
points
70
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Platform interface models and contracts for the Timekettle translation Flutter plugin.

Homepage

License

Apache-2.0 (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on tmk_translation_platform_interface