com.google.mlkit.common
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-10-31 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-10-31 UTC."],[[["\u003cp\u003eML Kit offers a variety of tools and APIs for incorporating machine learning into Android apps.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eMlKit\u003c/code\u003e class serves as the primary entry point for manual initialization of ML Kit functionalities.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eMlKitException\u003c/code\u003e and corresponding error codes handle potential issues during ML Kit operations.\u003c/p\u003e\n"]]],["ML Kit's core content includes its status codes, accessible through `MlKitException.ErrorCode`. The `MlKit` class serves as the manual entry point for initializing the toolkit. Errors within ML Kit are represented and managed through the `MlKitException` class, which captures and communicates exceptions. These components manage the usage and status within ML Kit.\n"],null,["# com.google.mlkit.common\n\n### Annotations\n\n|-------------------------------------------------------------------------------------------------|---------------------------------|\n| [MlKitException.ErrorCode](/android/reference/com/google/mlkit/common/MlKitException.ErrorCode) | The set of ML Kit status codes. |\n\n### Classes\n\n|-----------------------------------------------------------|---------------------------------------------------|\n| [MlKit](/android/reference/com/google/mlkit/common/MlKit) | Public entry point to manually initialize ML Kit. |\n\n### Exceptions\n\n|-----------------------------------------------------------------------------|-------------------------------------------|\n| [MlKitException](/android/reference/com/google/mlkit/common/MlKitException) | Represents an exception thrown by ML Kit. |"]]