EventStoreManager

Provides APIs to store events in an encrypted store on the filesystem. Each event is stored in a separate file on the filesystem.

Author

bhariharan

Constructors

Link copied to clipboard
constructor(filenameSuffix: String, context: Context, encryptionKey: String)
Parameterized constructor.

Properties

Link copied to clipboard
Link copied to clipboard
open var maxEvents: Int

Functions

Link copied to clipboard
open fun deleteAllEvents()
Deletes all the events stored on the filesystem for that unique identifier.
Link copied to clipboard
open fun deleteEvent(eventId: String): Boolean
Deletes a specific event stored on the filesystem.
Link copied to clipboard
open fun deleteEvents(eventIds: Collection<String>)
Deletes the events stored on the filesystem for that unique identifier.
Link copied to clipboard
open fun enableLogging(enabled: Boolean)
Disables or enables logging of events.
Link copied to clipboard
Returns all the events stored on the filesystem.
Link copied to clipboard
Returns a specific event stored on the filesystem for that unique identifier.
Link copied to clipboard
Returns number of stored events.
Link copied to clipboard
Streams all the events stored on the filesystem.
Link copied to clipboard
Stores an event to the filesystem.
Link copied to clipboard
Stores a list of events to the filesystem.