Previous Topic: Choosing Custom Storage MediumNext Topic: Reading ArcotID OTP Account Details


Storing Accounts in Memory

ArcotID OTP library provides a sample implementation for storing the accounts in device memory.

Note: The sample implementations that are provided with the ArcotID OTP library must be used for reference only.

Perform the following steps to store accounts in memory:

  1. Invoke the MemoryStore class to use memory as a storage medium.
  2. Invoke the setStore() method in the OTP class to initialize the storage medium.