Referensi Framework MLKitImageLabelingCommon
Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Protokol
Protokol berikut tersedia secara global.
-
Protokol untuk menunjukkan gambar yang kompatibel dengan ML Kit.
Jangan menerapkan protokol ini sendiri; sebagai gantinya, gunakan MLImage
untuk membuat
MLKitCompatibleImage
.
Pernyataan
Objective-C
@protocol MLKCompatibleImage <NSObject>
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2025-07-25 UTC.
[null,null,["Terakhir diperbarui pada 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"]]