VDPhotoSelfieCapture¶
static void start(@NonNull IVDPhotoSelfieCapture delegate, @NonNull Context context, Map configuration)
Starts the framework.
-
Parameters:
- delegate: Delegate to send the information gathered in this SDK.
- context: Context needed to start an activity.
- configuration: Configuration
static void start(@NonNull IVDPhotoSelfieCapture 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 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 possible keys.
static void updateChallenge(String newJWSToken)
Changes current challenge.
-
Parameters:
- newJWSToken: The new challenge token to be accomplished
static String getNextChallenge()
Get next challenge to be accomplished.
-
Returns:
- The next challenge to be accomplished
static void stop(@NonNull Context context)
Stops the framework.
-
Parameters:
- context: The application context