StoredSession

data class StoredSession(val id: String, val status: StoredSessionStatus, val startedAtMs: Long, val startedAtMonotonicNs: Long = 0, val endedAtMs: Long? = null, val applicationId: String? = null, val appVersionName: String? = null, val appVersionCode: Long? = null, val buildType: String? = null, val deviceModel: String? = null, val deviceApiLevel: Int? = null, val deviceOsVersion: String? = null, val recordCount: Long = 0, val estimatedBytes: Long = 0)

Durable, already-safe metadata for an app run. Device and build fields are optional so databases created before sessions existed can be backfilled without inventing host information.

Constructors

Link copied to clipboard
constructor(id: String, status: StoredSessionStatus, startedAtMs: Long, startedAtMonotonicNs: Long = 0, endedAtMs: Long? = null, applicationId: String? = null, appVersionName: String? = null, appVersionCode: Long? = null, buildType: String? = null, deviceModel: String? = null, deviceApiLevel: Int? = null, deviceOsVersion: String? = null, recordCount: Long = 0, estimatedBytes: Long = 0)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val id: String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard