This protocol defines an interface for the delegates of ImageEmbedder object to receive
results of asynchronous embedding extraction on images (i.e, when runningMode = .liveStream).
The delegate of ImageEmbedder must adopt ImageEmbedderLiveStreamDelegate protocol.
The methods in this protocol are optional.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-05-08 UTC."],[],[],null,["# MediaPipeTasksVision Framework Reference\n\nImageEmbedderLiveStreamDelegate\n===============================\n\n protocol ImageEmbedderLiveStreamDelegate : NSObjectProtocol\n\nThis protocol defines an interface for the delegates of [ImageEmbedder](../Classes/ImageEmbedder.html) object to receive\nresults of asynchronous embedding extraction on images (i.e, when `runningMode` = `.liveStream`).\n\nThe delegate of [ImageEmbedder](../Classes/ImageEmbedder.html) must adopt `ImageEmbedderLiveStreamDelegate` protocol.\nThe methods in this protocol are optional.\n- `\n ``\n ``\n `\n\n ### [imageEmbedder(_:didFinishEmbedding:timestampInMilliseconds:error:)](#/c:objc(pl)MPPImageEmbedderLiveStreamDelegate(im)imageEmbedder:didFinishEmbeddingWithResult:timestampInMilliseconds:error:)\n\n `\n ` \n This method notifies a delegate that the results of asynchronous embedding extraction on\n an image submitted to the [ImageEmbedder](../Classes/ImageEmbedder.html) is available.\n\n This method is called on a private serial queue created by the [ImageEmbedder](../Classes/ImageEmbedder.html)\n for performing the asynchronous delegates calls. \n\n #### Declaration\n\n Swift \n\n optional func imageEmbedder(_ imageEmbedder: MPPImageEmbedder, didFinishEmbedding result: ../Classes/ImageEmbedderResult.html?, timestampInMilliseconds: Int, error: Error?)\n\n #### Parameters\n\n |---------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n | ` `*imageEmbedder*` ` | The image embedder which performed the embedding extraction. This is useful to test equality when there are multiple instances of [ImageEmbedder](../Classes/ImageEmbedder.html). |\n | ` `*result*` ` | An [ImageEmbedderResult](../Classes/ImageEmbedderResult.html) object that contains a list of generated image embeddings. |\n | ` `*timestampInMilliseconds*` ` | The timestamp (in milliseconds) which indicates when the input image was sent to the image embedder. |\n | ` `*error*` ` | An optional error parameter populated when there is an error in performing embedding extraction on the input live stream image data. |"]]