Skip to content

VDVideoSelfieCaptureProtocol

Protocol that communicates this framework with an app/framework/library that uses it.

Currently all methods are required.

Public Methods

- (void)VDVideoSelfieAllFinished:(Boolean)processFinished

Delegate method which will notify when the process has finished completely

This method will be called always at the end of the process or when stop has been called when everything is stopped.

  • Parameters:

    • processFinished: Indicates if the process has finished successfully (true) or has been interrupted (false).
- (void)VDVideoSelfieCaptured:(NSData*) videoSelfieData

Delegate method which will notify when the selfie video is captured.

  • Parameters:

    • videoSelfieData: Contains the data of the video selfie captured.
- (void)VDVideoSelfieCaptured:(NSData*) videoSelfieData withProcessInfo: (NSData*) processInfo

Delegate method which will notify when the selfie video is captured.

  • Parameters:

    • videoSelfieData: Contains the data of the video selfie captured.
    • processInfo: Contains the data with annotations of the video.