Contents

isPlaying

Indicates whether playback is active.

Declaration

@MainActor var isPlaying: Bool { get set }

Discussion

Setting this to true should start playback; setting it to false should pause it. This property reflects playback intent — it should remain true while isBuffering is true, indicating that playback should resume automatically once sufficient data is available.