SessionExport

@Serializable
data class SessionExport(val version: String = SessionExportFormat.VERSION, val sessionId: String, val exportedAt: Long, val clientInfo: ExportedClientInfo, val crash: CrashInfo? = null, val session: SessionData)

Complete exported session data. This is the JSON format used for import/export of recorded sessions.

Example JSON structure:

{
"version": "1.0",
"sessionId": "uuid",
"exportedAt": 1704067200000,
"clientInfo": { "clientId": "...", "clientName": "...", "platform": "..." },
"crash": { "timestamp": 1704067200000, "exception": { ... } },
"session": { "startTime": ..., "endTime": ..., "actions": [...], "logicEvents": [...] }
}

This format is compatible with DevTools ghost device import.

Constructors

Link copied to clipboard
constructor(version: String = SessionExportFormat.VERSION, sessionId: String, exportedAt: Long, clientInfo: ExportedClientInfo, crash: CrashInfo? = null, session: SessionData)

Properties

Link copied to clipboard
Link copied to clipboard
val crash: CrashInfo? = null
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard