RoomioDiagnostic

data class RoomioDiagnostic(val timestampMillis: Long, val level: RoomioDiagnosticLevel, val code: String, val message: String, val scanId: String?)

A message about a scan, for your own logging or crash reporting.

Constructors

RoomioDiagnostic constructor(timestampMillis: Long, level: RoomioDiagnosticLevel, code: String, message: String, scanId: String?)

Properties

Name Summary
code val code: String
A stable identifier, for example "tracking_lost". New codes may be added in future releases, so include an else branch when you match on them.
level val level: RoomioDiagnosticLevel
How serious it is.
message val message: String
A short description, for logs rather than for users.
scanId val scanId: String?
The scan it belongs to. Quote it when contacting Roomio about a scan. Null before a scan starts.
timestampMillis val timestampMillis: Long
When it happened, in milliseconds since the epoch.

RoomioDiagnostic

constructor(timestampMillis: Long, level: RoomioDiagnosticLevel, code: String, message: String, scanId: String?)

code

val code: String

level

val level: RoomioDiagnosticLevel

message

val message: String

scanId

val scanId: String?

timestampMillis

val timestampMillis: Long

Roomio SDK 0.0.15