# HolisticLandmarkerLiveStreamDelegate

    protocol HolisticLandmarkerLiveStreamDelegate: NSObjectProtocol

This protocol defines an interface for the delegates of `HolisticLandmarker` to receive results of performing asynchronous holistic landmarks detection on images (i.e, when `runningMode` = `.liveStream`).

The delegate of `FaceLandmarker` must adopt `FaceLandmarkerLiveStreamDelegate` protocol. The methods in this protocol are optional.
- `
  ### [holisticLandmarker(_:didFinishDetection:timestampInMilliseconds:error:)](https://developers.google.com/edge/api/mediapipe/swift/vision/Protocols/HolisticLandmarkerLiveStreamDelegate.md.txt#/c:objc(pl)MPPHolisticLandmarkerLiveStreamDelegate(im)holisticLandmarker:didFinishDetectionWithResult:timestampInMilliseconds:error:)

  ` This method notifies a delegate that the results of asynchronous holistic landmarks detection of an image submitted to the `HolisticsLandmarker` is available.

  This method is called on a private serial dispatch queue created by the `HolisticLandmarker` for performing the asynchronous delegates calls.

  #### Declaration

  Swift

      func holisticLandmarker(_ holisticLandmarker: HolisticLandmarker, didFinishDetection result: HolisticLandmarkerResult?, timestampInMilliseconds: Int, error: (any Error)?)

  #### Parameters

  |---|---|
  | `holisticLandmarker` | The holistic landmarker which performed the holistic landmarks detection. This is useful to test equality when there are multiple instances of `HolisticLandmarker`. |
  | `result` | The `HolisticLandmarkerResult` object that contains a list of landmarks. |
  | `timestampInMilliseconds` | The timestamp (in milliseconds) which indicates when the input image was sent to the holistic landmarker. |
  | `error` | An optional error parameter populated when there is an error in performing holistic landmarks detection on the input live stream image data. |