Pinglet

@Serializable
sealed interface Pinglet

Base interface for all Pinglet analytics events in the Ping system.

A Pinglet represents a discrete analytics event that captures specific information about SDK usage, user interactions, errors, or system states. All concrete Pinglet implementations must implement this interface to ensure proper serialization and schema management for backend processing.

Serialization: All Pinglets are serializable to JSON format for network transmission to analytics backend services. The serialization uses kotlinx.serialization for JSON conversion.

Inheritors

Properties

Link copied to clipboard
abstract val schemaName: String

Unique identifier for the Pinglet schema type.

Link copied to clipboard
abstract val schemaVersion: String

Version identifier for the Pinglet schema.