MLKit Translate फ़्रेमवर्क रेफ़रंस
क्लास
नीचे दी गई क्लास दुनिया भर में उपलब्ध हैं.
-
MLKit की सुविधाओं के लिए इस्तेमाल किए जाने वाले मॉडल मैनेज करता है.
एलान
Objective-C
@interface MLKModelManager : NSObject
-
ऐसा मॉडल जिसे सर्वर पर रिमोट तौर पर सेव किया जाता है और डिवाइस पर डाउनलोड किया जाता है.
एलान
Objective-C
@interface MLKRemoteModel : NSObject
-
अनुवाद करने वाला ऐसा मॉडल जिसे सर्वर पर सेव किया जाता है और डिवाइस पर डाउनलोड किया जाता है.
-
यह एक ऐसी क्लास है जो दिए गए इनपुट टेक्स्ट का अनुवाद करती है.
एलान
Objective-C
@interface MLKTranslator : NSObject
-
Translator
के लिए विकल्प.
एलान
Objective-C
@interface MLKTranslatorOptions : NSObject
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 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"]]