MLKitTranslate フレームワーク リファレンス
-
宣言
Objective-C
@interface MLKModelManager : NSObject
-
リモートでサーバーに保存され、デバイスにダウンロードされるモデル。
宣言
Objective-C
@interface MLKRemoteModel : NSObject
-
サーバーにリモートで保存され、デバイスにダウンロードされる翻訳モデル。
-
宣言
Objective-C
@interface MLKTranslator : NSObject
-
宣言
Objective-C
@interface MLKTranslatorOptions : NSObject
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2024-11-06 UTC。
[null,null,["最終更新日 2024-11-06 UTC。"],[[["ML Kit provides classes for managing models, including remote models that are downloaded to the device."],["The `MLKTranslator` class handles text translation, utilizing models managed by `MLKModelManager`."],["`MLKTranslateRemoteModel` represents a translation model stored remotely and downloaded when needed."],["`MLKTranslatorOptions` allows customization of the translation process through various settings."],["Developers can use these classes to integrate on-device or cloud-based translation features in their iOS applications."]]],["The core content outlines five globally available classes for MLKit features. `MLKModelManager` manages models. `MLKRemoteModel` represents models stored remotely and downloaded. `MLKTranslateRemoteModel` is a specific remote model for translation. `MLKTranslator` translates text inputs. Lastly, `MLKTranslatorOptions` provides customization settings for the `MLKTranslator` class. All classes are defined in Objective-C.\n"]]