MLKitTranslate Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
Classes
The following classes are available globally.
-
Manages models that are used by MLKit features.
Declaration
Objective-C
@interface MLKModelManager : NSObject
-
A model that is stored remotely on the server and downloaded to the device.
Declaration
Objective-C
@interface MLKRemoteModel : NSObject
-
A translate model that is stored remotely on the server and downloaded on the device.
-
A class that translates the given input text.
Declaration
Objective-C
@interface MLKTranslator : NSObject
-
Declaration
Objective-C
@interface MLKTranslatorOptions : NSObject
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-07-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-07-10 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."]]],[]]