ImageSegmenterLiveStreamDelegate
protocol ImageSegmenterLiveStreamDelegate : NSObjectProtocolThis protocol defines an interface for the delegates of ImageSegmenter object to receive
 results of performing asynchronous segmentation on images (i.e, when runningMode =
 liveStream).
The delegate of ImageSegmenter must adopt ImageSegmenterLiveStreamDelegate protocol.
 The methods in this protocol are optional.
- 
                  
                  This method notifies a delegate that the results of asynchronous segmentation of an image submitted to the ImageSegmenteris available.This method is called on a private serial dispatch queue created by the ImageSegmenterfor performing the asynchronous delegates calls.DeclarationSwift optional func imageSegmenter(_ imageSegmenter: MPPImageSegmenter, didFinishSegmentation result: ImageSegmenterResult?, timestampInMilliseconds: Int, error: Error?)ParametersimageSegmenterThe image segmenter which performed the segmentation. This is useful to test equality when there are multiple instances of ImageSegmenter.resultThe ImageSegmenterResultobject that contains a list of category or confidence masks and optional quality scores.timestampInMillisecondsThe timestamp (in milliseconds) which indicates when the input image was sent to the image segmenter. errorAn optional error parameter populated when there is an error in performing segmentation on the input live stream image data.