Package com.amplitude.core.utilities

Types

Link copied to clipboard
class AnalyticsIdentityListener(state: State) : IdentityListener
Link copied to clipboard
class BadRequestResponse(response: JSONObject) : Response
Link copied to clipboard
abstract class Connection(connection: HttpURLConnection, inputStream: InputStream?, outputStream: OutputStream?) : Closeable
Link copied to clipboard
class ConsoleLoggerProvider : LoggerProvider
Link copied to clipboard
class EventsFileManager(directory: File, apiKey: String, kvs: KeyValueStore)
Link copied to clipboard
interface EventsFileStorage
Link copied to clipboard
class FailedResponse(response: JSONObject) : Response
Link copied to clipboard
class FileResponseHandler(storage: EventsFileStorage, eventPipeline: EventPipeline, configuration: Configuration, scope: CoroutineScope, dispatcher: CoroutineDispatcher, eventFilePath: String, eventsString: String, logger: Logger?) : ResponseHandler
Link copied to clipboard
class FileStorage(apiKey: String, logger: Logger, prefix: String?) : Storage, EventsFileStorage
Link copied to clipboard
class FileStorageProvider : StorageProvider
Link copied to clipboard
enum HttpStatus : Enum<HttpStatus>
Link copied to clipboard
class InMemoryStorage(amplitude: Amplitude) : Storage
Link copied to clipboard
class InMemoryStorageProvider : StorageProvider
Link copied to clipboard
object JSONUtil
Link copied to clipboard
class PayloadTooLargeResponse(response: JSONObject) : Response
Link copied to clipboard
interface Response
Link copied to clipboard
interface ResponseHandler
Link copied to clipboard
class SuccessResponse : Response
Link copied to clipboard
class TimeoutResponse : Response
Link copied to clipboard
class TooManyRequestsResponse(response: JSONObject) : Response

Functions

Link copied to clipboard
inline fun JSONObject.optionalJSONObject(key: String, defaultValue: JSONObject?): JSONObject?
Link copied to clipboard
inline fun JSONObject.optionalString(key: String, defaultValue: String?): String?
Link copied to clipboard
fun JSONObject.toBaseEvent(): BaseEvent
Link copied to clipboard
fun JSONArray.toEvents(): List<BaseEvent>