مرجع إطار عمل MLKitCommon
تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
صفوف
تتوفّر الفئات التالية على مستوى العالم.
-
يشير ذلك المصطلح إلى نموذج مخصّص يتم تخزينه عن بُعد على الخادم وتنزيله على الجهاز.
-
طراز تم تخزينه محليًا على الجهاز.
بيان الإفصاح
Swift
class LocalModel : NSObject
-
عمليات ضبط شروط تنزيل النموذج
بيان الإفصاح
Swift
class ModelDownloadConditions : NSObject, NSCopying
-
لإدارة النماذج التي تستخدمها ميزات MLKit.
بيان الإفصاح
Swift
class ModelManager : NSObject
-
يشير ذلك المصطلح إلى نموذج يتم تخزينه عن بُعد على الخادم وتنزيله على الجهاز.
بيان الإفصاح
Swift
class RemoteModel : NSObject
-
مصدر نموذج يشير إلى مكان استضافة النموذج عن بُعد
بيان الإفصاح
Swift
class RemoteModelSource : NSObject
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2025-07-25 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-07-25 (حسب التوقيت العالمي المتفَّق عليه)"],[[["\u003cp\u003eML Kit provides classes for managing models, including local and remote options, with \u003ccode\u003eLocalModel\u003c/code\u003e for on-device storage and \u003ccode\u003eRemoteModel\u003c/code\u003e for server-hosted models.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eModelManager\u003c/code\u003e handles model operations, while \u003ccode\u003eModelDownloadConditions\u003c/code\u003e allows configuration of download preferences.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eCustomRemoteModel\u003c/code\u003e extends remote model capabilities for custom use cases, and \u003ccode\u003eRemoteModelSource\u003c/code\u003e specifies the location of remote models.\u003c/p\u003e\n"]]],[],null,["# MLKitCommon Framework Reference\n\nClasses\n=======\n\nThe following classes are available globally.\n- `\n ``\n ``\n `\n\n ### [CustomRemoteModel](/ml-kit/reference/swift/mlkitcommon/api/reference/Classes/CustomRemoteModel)\n\n `\n ` \n A custom model that is stored remotely on the server and downloaded to the device. \n\n #### Declaration\n\n Swift \n\n class CustomRemoteModel : /ml-kit/reference/swift/mlkitcommon/api/reference/Classes/RemoteModel\n\n- `\n ``\n ``\n `\n\n ### [LocalModel](/ml-kit/reference/swift/mlkitcommon/api/reference/Classes/LocalModel)\n\n `\n ` \n A model stored locally on the device. \n\n #### Declaration\n\n Swift \n\n class LocalModel : NSObject\n\n- `\n ``\n ``\n `\n\n ### [ModelDownloadConditions](/ml-kit/reference/swift/mlkitcommon/api/reference/Classes/ModelDownloadConditions)\n\n `\n ` \n Configurations for model downloading conditions. \n\n #### Declaration\n\n Swift \n\n class ModelDownloadConditions : NSObject, NSCopying\n\n- `\n ``\n ``\n `\n\n ### [ModelManager](/ml-kit/reference/swift/mlkitcommon/api/reference/Classes/ModelManager)\n\n `\n ` \n Manages models that are used by MLKit features. \n\n #### Declaration\n\n Swift \n\n class ModelManager : NSObject\n\n- `\n ``\n ``\n `\n\n ### [RemoteModel](/ml-kit/reference/swift/mlkitcommon/api/reference/Classes/RemoteModel)\n\n `\n ` \n A model that is stored remotely on the server and downloaded to the device. \n\n #### Declaration\n\n Swift \n\n class RemoteModel : NSObject\n\n- `\n ``\n ``\n `\n\n ### [RemoteModelSource](/ml-kit/reference/swift/mlkitcommon/api/reference/Classes/RemoteModelSource)\n\n `\n ` \n A model source indicating where the model is hosted remotely. \n\n #### Declaration\n\n Swift \n\n class RemoteModelSource : NSObject"]]