FuturaeSDK

public class FuturaeSDK implements FuturaeSDKApi

Properties

Link copied to clipboard
private final FuturaeClientApi client

FuturaeClientApi object getter method.

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
@Deprecated(message = "Use FuturaeAdaptiveApi methods instead")
public Unit disableAdaptive()

Deprecated, please use FuturaeAdaptiveApi.disableAdaptive instead. Disables Adaptive SDK.

Link copied to clipboard
@Deprecated(message = "Use FuturaeAdaptiveApi methods instead")
public Unit enableAdaptive(Application application)

Deprecated, please use FuturaeAdaptiveApi.enableAdaptive instead. Enables the Adaptive SDK.

Link copied to clipboard
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 Unit launch(Application application, SDKConfiguration sdkConfiguration)

Function that Initializes the SDK.

Link copied to clipboard

Function that Initializes the SDK bypassing FTCorruptedStateException and attempting to recover Accounts for LockConfigurationType.NONE

@Deprecated(message = "Please use launchAccountRecovery with UserPresenceVerificationMode argument")
public final Unit launchAccountRecovery(Application application, SDKConfiguration sdkConfiguration, Callback<Unit> callback)

Function that Initializes the SDK bypassing FTCorruptedStateException and attempting to recover Accounts. Recovery via this method is only available for LockConfigurationType.NONE

public Unit launchAccountRecovery(Application application, SDKConfiguration sdkConfiguration, UserPresenceVerificationMode userPresenceVerificationMode, Callback<Unit> callback)

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

Link copied to clipboard
public 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 StateFlow<FuturaeSDKState> sdkState()
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, 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.