Interface UserDataProfiles


public interface UserDataProfiles
A data store for the user data.
  • Method Summary

    Modifier and Type
    Method
    Description
    Adds a new record to the profile data store.
    all()
    Returns all user data records.
    void
    Clears all records in the store.
    void
    remove(UserDataProfile addressProfile)
    Removes the user data from the store.
  • Method Details

    • add

      String add(UserDataProfile profile)
      Adds a new record to the profile data store.
      Parameters:
      profile - a new profile record
      Returns:
      a string indicating the reason for validation failure, or an empty one if the operation succeeds
      Throws:
      ObjectClosedException - when the profile is deleted or its engine is closed
      Since:
      8.0.0
    • all

      Returns all user data records.

      The user data records are saved to the store via SaveUserDataProfileCallback.

      Throws:
      ObjectClosedException - when the profile is deleted or its engine is closed
    • remove

      void remove(UserDataProfile addressProfile)
      Removes the user data from the store.

      Removed user data is not displayed in the autofill suggestion pop-up.

      Throws:
      ObjectClosedException - when the profile is deleted or its engine is closed
    • clear

      void clear()
      Clears all records in the store.
      Throws:
      ObjectClosedException - when the profile is deleted or its engine is closed