FuturaeSDK

public class FuturaeSDK

Properties

Link copied to clipboard
private final FuturaeSDK INSTANCE
public final static FuturaeSDK INSTANCE
Link copied to clipboard
private final Boolean isSDKInitialized

Functions

Link copied to clipboard
public final FuturaeClient getClient()

FuturaeClient object getter method.

Link copied to clipboard
public final List<FTAccount> getFTAccounts(Context context)

Returns a list of enrolled accounts FTAccount

Link copied to clipboard

FTRNotificationFactory object getter method.

Link copied to clipboard
public final FuturaeSDK getINSTANCE()
Link copied to clipboard
public final Boolean isSDKInitialized()
Link copied to clipboard
public final Unit launch(Application application, SDKConfiguration sdkConfiguration)

Function that Initializes the SDK.

Link copied to clipboard
public final Unit launchAccountRecovery(Application application, SDKConfiguration sdkConfiguration, Callback<Unit> callback)

Function that Initializes the SDK bypassing LockCorruptedStateException and attempting to recover Accounts.

Link copied to clipboard
public final Unit reset(Context context)

Resets the SDK to a clean installation state. This will irreversibly reset the configuration and remove all accounts, keys, secrets and credentials from the SDK.

Link copied to clipboard
public final Unit switchToLockConfigurationBiometrics(SDKConfiguration sdkConfiguration, FragmentActivity fragmentActivity, String promptTitle, String promptSubtitle, String promptDescription, String negativeButtonText, Callback<Unit> callback)

Protected operation to change SDK configuration without resetting. Requires at least one enrolled account. This method will attempt to authenticate the user.

public final Unit switchToLockConfigurationBiometricsOrCredentials(SDKConfiguration sdkConfiguration, FragmentActivity fragmentActivity, String promptTitle, String promptSubtitle, String promptDescription, String negativeButtonText, Callback<Unit> callback)

Protected operation to change SDK configuration without resetting. Requires at least one enrolled account. This method will attempt to authenticate the user.

Link copied to clipboard
public final Unit switchToLockConfigurationNone(Application application, SDKConfiguration sdkConfiguration, Callback<Unit> callback)

Protected operation to change SDK configuration without resetting. Requires at least one enrolled account.

Link copied to clipboard
public final Unit switchToLockConfigurationWithPin(Application application, SDKConfiguration sdkConfiguration, CharArray sdkPin, Callback<Unit> callback)

Protected operation to change SDK configuration without resetting. Requires at least one enrolled account.

Link copied to clipboard
public final Unit validateSDKSigning()

This method verifies the validity of SDK signing and encryption keys and their respective operations in order to detect an erroneous SDK state prior to SDK operations like enrollment, accounts-status etc. It requires the SDK to be initialized and unlocked or use Lock configuration NONE which doens't require unlocking.