SeekResult

sealed class SeekResult

Outcome of a transport-level AudioPlaybackSession.seekTo attempt.

Platforms that can reposition playback without tearing down the session return Applied. Platforms that cannot return Unsupported; higher layers (e.g. Compose space.kodio.compose.PlayerState) may then apply a portable PCM-window fallback.

Inheritors

Types

Link copied to clipboard
data object Applied : SeekResult

Native transport applied the seek.

Link copied to clipboard
data object Unsupported : SeekResult

This session cannot seek in-place; callers may use a portable fallback.

Properties

Link copied to clipboard

true when the seek was applied natively.