Skip to content

VDVideoSelfieCapture

Class that serves as an entry point to the framework.

Public Methods:

static void start(@NonNull IVDVideoSelfieCapture delegate, @NonNull Context context)

Starts the SDK

  • Parameters:

    • delegate: Delegate to send the information gathered in this SDK.
    • context: Context needed to start an activity
static void start(@NonNull IVDVideoSelfieCapture delegate, @NonNull Context context, Map configuration)

Starts the SDK

  • Parameters:

    • delegate: Delegate to send the information gathered in this SDK.
    • context: Context needed to start an activity.
    • configuration: Configuration that the SDK will follow after starting, the non set keys will use default values.
static void setDocumentType(@NonNull VDVideoEnums.VDVideoDocumentType documentType, Context context)

Sets the document to search in the video.

  • Parameters:

    • documentType The type of document to search.
static void setDocumentType(@NonNull String documentType, Context context)

Sets the document to search in the video.

  • Parameters:

    • documentType The type of document to search
    • context The android context
static boolean isStarted()

Checks if the framework is started.

  • Returns:

    • True if started, false otherwise.
static String getVersion()

Gets version of the SDK.

  • Returns:

    • Version of the SDK.
static ArrayList getConfigurationKeys(Context context)

Gets configuration possible keys

  • Parameters:

    • context: Context needed to get the configuration keys.
  • Returns:

    • The configuration keys list.
static void stop(@NonNull Context context)

Stops the framework.

  • Parameters:

    • context: Context to stop the framework.
static void setToken(String token)

DEPRECATED. Sets the token to the SDK

  • Parameters:

    • token: The token assigned