SnapshotError

Errors thrown by SerenadaSession.captureSnapshot. Each variant has a machine-readable identity via type checks (e.g. is SnapshotError.StreamNotActive).

Inheritors

Types

Link copied to clipboard
data class CaptureFailed(val reason: String) : SnapshotError

Frame encoding failed (zero dimensions, encoder error, etc.).

Link copied to clipboard

No frame arrived within the configured timeout.

Link copied to clipboard

The track exists but has no video component.

Link copied to clipboard

The session has no active session, or the chosen stream's video is off.

Link copied to clipboard

Reserved for future source variants — not currently emitted.

Properties

Link copied to clipboard
open val cause: Throwable?
Link copied to clipboard
open val message: String?

Functions

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