BugScreenUser

data class BugScreenUser(val id: String, val role: String? = null, val email: String? = null)

The account a bug report was filed under — the test login a triager needs to reproduce the issue.

Set it eagerly with BugScreenSDK.setUser, or supply it lazily with BugScreenSDK.setUserProvider so it is read fresh at capture time (when the report screen opens) rather than pushed on login. The backend renders it as a dedicated Account section at the top of the created issue.

Privacy: id and role are the intended fields — role is promoted to a filterable label on the issue. email is optional and off by default; only pass it when your team explicitly wants a contactable address in the tracker. Nothing is auto-collected.

Constructors

Link copied to clipboard
constructor(id: String, role: String? = null, email: String? = null)

Properties

Link copied to clipboard
val email: String? = null

Contact email. Optional; attach only when opted in.

Link copied to clipboard
val id: String

Stable account identifier (e.g. your internal user id). Required.

Link copied to clipboard
val role: String? = null

Account role or tier (e.g. admin, pro). Optional.