Dokumentacja platformy MLKitImageLabelingCommon
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Protokoły
Poniższe protokoły są dostępne na całym świecie.
-
Protokół do wskazywania obrazów zgodnych z ML Kit.
Nie wdrażaj tego protokołu samodzielnie. Zamiast tego użyj MLImage
do utworzenia
MLKitCompatibleImage
Deklaracja
Objective-C
@protocol MLKCompatibleImage <NSObject>
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-25 UTC.
[null,null,["Ostatnia aktualizacja: 2025-07-25 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eMLKCompatibleImage\u003c/code\u003e protocol signifies images compatible with ML Kit, and developers should utilize \u003ccode\u003eMLImage\u003c/code\u003e for creation instead of direct implementation.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers should not directly implement the \u003ccode\u003eMLKCompatibleImage\u003c/code\u003e protocol; use \u003ccode\u003eMLImage\u003c/code\u003e to create compatible images for ML Kit.\u003c/p\u003e\n"]]],[],null,["# MLKitImageLabelingCommon Framework Reference\n\nProtocols\n=========\n\nThe following protocols are available globally.\n- `\n ``\n ``\n `\n\n ### [MLKCompatibleImage](#/c:objc(pl)MLKCompatibleImage)\n\n `\n ` \n A protocol for indicating images that are compatible with ML Kit.\n\n Don't implement this protocol yourself; instead, use `MLImage` to create an\n `MLKitCompatibleImage`. \n\n #### Declaration\n\n Objective-C \n\n @protocol MLKCompatibleImage \u003cNSObject\u003e"]]