ข้อมูลอ้างอิงเฟรมเวิร์ก MLKitEntityExtraction
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
โมเดลการแยกเอนทิตีที่เก็บอยู่ในเซิร์ฟเวอร์จากระยะไกลและดาวน์โหลดลงในอุปกรณ์
-
-
รับอินสแตนซ์ของ EntityExtractorRemoteModel
ที่กำหนดค่าด้วยตัวระบุโมเดลที่ระบุ
คุณใช้โมเดลนี้เพื่อทริกเกอร์การดาวน์โหลดโดยการเรียกใช้ download(_:)
API ได้
จาก ModelManager
EntityExtractorRemoteModel
ใช้ ModelManager
ภายใน เมื่อดาวน์โหลด
EntityExtractorRemoteModel
จะมีการแจ้งเตือนโพสต์สำหรับ RemoteModel
หากต้องการยืนยันว่าการแจ้งเตือนดังกล่าวเป็นของ EntityExtractorRemoteModel
หรือไม่ ให้ตรวจสอบว่า
ช่อง ModelDownloadUserInfoKeyRemoteModel
ในพจนานุกรมข้อมูลผู้ใช้มีออบเจ็กต์อยู่
ประเภท EntityExtractorRemoteModel
ผลลัพธ์
อินสแตนซ์ EntityExtractorRemoteModel
-
คำประกาศ
Objective-C
- (nonnull instancetype)init;
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-25 UTC
[null,null,["อัปเดตล่าสุด 2025-07-25 UTC"],[[["\u003cp\u003eMLKEntityExtractionRemoteModel is an entity extraction model stored remotely and downloaded for on-device use.\u003c/p\u003e\n"],["\u003cp\u003eIt's identified by a unique model identifier and managed using \u003ccode\u003eModelManager\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eYou can get an instance of the model and trigger a download using the provided methods.\u003c/p\u003e\n"],["\u003cp\u003eModel download notifications are posted for \u003ccode\u003eRemoteModel\u003c/code\u003e and can be verified using the \u003ccode\u003eModelDownloadUserInfoKeyRemoteModel\u003c/code\u003e field.\u003c/p\u003e\n"]]],[],null,["# MLKitEntityExtraction Framework Reference\n\nMLKEntityExtractionRemoteModel\n==============================\n\n\n @interface MLKEntityExtractionRemoteModel : ../Classes/MLKRemoteModel.html\n\nAn entity extraction model that is stored remotely on the server and downloaded on the device.\n- `\n ``\n ``\n `\n\n ### [modelIdentifier](#/c:objc(cs)MLKEntityExtractionRemoteModel(py)modelIdentifier)\n\n `\n ` \n The model identifier of this model. \n\n #### Declaration\n\n Objective-C \n\n @property (nonatomic, readonly) ../Type-Definitions.html#/c:MLKEntityExtractionModelIdentifier.h@T@MLKEntityExtractionModelIdentifier _Nonnull modelIdentifier;\n\n- `\n ``\n ``\n `\n\n ### [+entityExtractorRemoteModelWithIdentifier:](#/c:objc(cs)MLKEntityExtractionRemoteModel(cm)entityExtractorRemoteModelWithIdentifier:)\n\n `\n ` \n Gets an instance of `EntityExtractorRemoteModel` configured with the given model identifier.\n This model can be used to trigger a download by calling the `download(_:)` API\n from `ModelManager`.\n\n `EntityExtractorRemoteModel` uses `ModelManager` internally. When downloading\n an `EntityExtractorRemoteModel`, there will be a notification posted for a `RemoteModel`.\n To verify if such notifications belong to an `EntityExtractorRemoteModel`, check that the\n `ModelDownloadUserInfoKeyRemoteModel` field in the user info dictionary contains an object\n of type `EntityExtractorRemoteModel` . \n\n #### Declaration\n\n Objective-C \n\n + (nonnull MLKEntityExtractionRemoteModel *)\n entityExtractorRemoteModelWithIdentifier:\n (nonnull ../Type-Definitions.html#/c:MLKEntityExtractionModelIdentifier.h@T@MLKEntityExtractionModelIdentifier)modelIdentifier;\n\n #### Parameters\n\n |-------------------------|------------------------------------|\n | ` `*modelIdentifier*` ` | The model identifier of the model. |\n\n #### Return Value\n\n A `EntityExtractorRemoteModel` instance.\n- `\n ``\n ``\n `\n\n ### [-init](#/c:objc(cs)MLKEntityExtractionRemoteModel(im)init)\n\n `\n ` \n Unavailable. \n\n #### Declaration\n\n Objective-C \n\n - (nonnull instancetype)init;"]]