MLKitTranslate Çerçevesi Referansı
Sınıflar
Aşağıdaki sınıflar tüm dünyada kullanılabilir.
-
MLKit özellikleri tarafından kullanılan modelleri yönetir.
Bildirim
Objective-C
@interface MLKModelManager : NSObject
-
Sunucuda uzaktan depolanan ve cihaza indirilen bir model.
Bildirim
Objective-C
@interface MLKRemoteModel : NSObject
-
Sunucuda uzaktan depolanan ve cihaza indirilen bir çeviri modeli.
-
Belirtilen giriş metnini çeviren bir sınıf.
Bildirim
Objective-C
@interface MLKTranslator : NSObject
-
Translator
için seçenekler.
Bildirim
Objective-C
@interface MLKTranslatorOptions : NSObject
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2024-11-06 UTC.
[null,null,["Son güncelleme tarihi: 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"]]