checkForMigratableAccounts

Check for MigrateableAccounts, which contains all information around Account Migration from backup.

Parameters

callback

to get notified about success or failure of this operation.

Throws

if SDK contains enrolled accounts.

if accounts have been previously enrolled on this SDK installation.

if the SKD does not have the necessary secret tokens to perform Account Migration.

if no accounts are eligible for migration.

if the SDK is unable to retrieve the tokens required for this operation.

if the Account Migration request gets rejected by the server.