MLKitCommon Framework Referansı
Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
Sınıflar
Aşağıdaki sınıflar tüm dünyada kullanılabilir.
-
Sunucuda uzaktan depolanan ve cihaza indirilen özel bir model.
-
Cihazda yerel olarak depolanan bir model.
Bildirim
Swift
class LocalModel : NSObject
-
Model indirme koşullarıyla ilgili yapılandırmalar.
Bildirim
Swift
class ModelDownloadConditions : NSObject, NSCopying
-
MLKit özellikleri tarafından kullanılan modelleri yönetir.
Bildirim
Swift
class ModelManager : NSObject
-
Uzaktan sunucuda depolanan ve cihaza indirilen bir model.
Bildirim
Swift
class RemoteModel : NSObject
-
Modelin uzaktan barındırıldığı yeri gösteren bir model kaynağı.
Bildirim
Swift
class RemoteModelSource : NSObject
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2025-07-25 UTC.
[null,null,["Son güncelleme tarihi: 2025-07-25 UTC."],[[["\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"]]