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 एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-07-25 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-07-25 (UTC) को अपडेट किया गया."],[[["\u003cp\u003eML Kit provides classes for managing models, including remote models that are downloaded to the device.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMLKTranslator\u003c/code\u003e class handles text translation, utilizing models managed by \u003ccode\u003eMLKModelManager\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eMLKTranslateRemoteModel\u003c/code\u003e represents a translation model stored remotely and downloaded when needed.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eMLKTranslatorOptions\u003c/code\u003e allows customization of the translation process through various settings.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can use these classes to integrate on-device or cloud-based translation features in their iOS applications.\u003c/p\u003e\n"]]],["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"],null,["# MLKitTranslate Framework Reference\n\nClasses\n=======\n\nThe following classes are available globally.\n- `\n ``\n ``\n `\n\n ### [MLKModelManager](/ml-kit/reference/ios/mlkittranslate/api/reference/Classes/MLKModelManager)\n\n `\n ` \n Manages models that are used by MLKit features. \n\n #### Declaration\n\n Objective-C \n\n\n @interface MLKModelManager : NSObject\n\n- `\n ``\n ``\n `\n\n ### [MLKRemoteModel](/ml-kit/reference/ios/mlkittranslate/api/reference/Classes/MLKRemoteModel)\n\n `\n ` \n A model that is stored remotely on the server and downloaded to the device. \n\n #### Declaration\n\n Objective-C \n\n\n @interface MLKRemoteModel : NSObject\n\n- `\n ``\n ``\n `\n\n ### [MLKTranslateRemoteModel](/ml-kit/reference/ios/mlkittranslate/api/reference/Classes/MLKTranslateRemoteModel)\n\n `\n ` \n A translate model that is stored remotely on the server and downloaded on the device. \n\n #### Declaration\n\n Objective-C \n\n\n @interface MLKTranslateRemoteModel : /ml-kit/reference/ios/mlkittranslate/api/reference/Classes/MLKRemoteModel\n\n- `\n ``\n ``\n `\n\n ### [MLKTranslator](/ml-kit/reference/ios/mlkittranslate/api/reference/Classes/MLKTranslator)\n\n `\n ` \n A class that translates the given input text. \n\n #### Declaration\n\n Objective-C \n\n\n @interface MLKTranslator : NSObject\n\n- `\n ``\n ``\n `\n\n ### [MLKTranslatorOptions](/ml-kit/reference/ios/mlkittranslate/api/reference/Classes/MLKTranslatorOptions)\n\n `\n ` \n Options for `Translator`. \n\n #### Declaration\n\n Objective-C \n\n\n @interface MLKTranslatorOptions : NSObject"]]