AndroidStorage

class AndroidStorage(context: Context, apiKey: String, logger: Logger, prefix: String?) : Storage, EventsFileStorage

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun getEventCallback(insertId: String): EventCallBack?
Link copied to clipboard
open suspend override fun getEventsString(content: Any): String
Link copied to clipboard
open override fun getResponseHandler(eventPipeline: EventPipeline, configuration: Configuration, scope: CoroutineScope, dispatcher: CoroutineDispatcher, events: Any, eventsString: String): ResponseHandler
Link copied to clipboard
open override fun read(key: Storage.Constants): String?
Link copied to clipboard
open override fun readEventsContent(): List<Any>
Link copied to clipboard
open override fun removeEventCallback(insertId: String)
Link copied to clipboard
open override fun removeFile(filePath: String): Boolean
Link copied to clipboard
open suspend override fun rollover()
Link copied to clipboard
open override fun splitEventFile(filePath: String, events: JSONArray)
Link copied to clipboard
open suspend override fun write(key: Storage.Constants, value: String)
Link copied to clipboard
open suspend override fun writeEvent(event: BaseEvent)