Package-level declarations
Types
Link copied to clipboard
Link copied to clipboard
data class GadulkaLiveState(val player: GadulkaPlayer, val state: GadulkaPlayerState, val volume: Float, val position: Long, val duration: Long)
Link copied to clipboard
A minimalistic audio player
Link copied to clipboard
Functions
Link copied to clipboard
Checks whether the player is currently in a playing or buffering state.
Link copied to clipboard
Creates and remembers an instance of GadulkaLiveState that monitors and updates the state, volume, position, and duration of a GadulkaPlayer. The player state is updated periodically and cleans up resources when no longer needed.
Link copied to clipboard
Provides a stateful instance of GadulkaPlayer that is remembered across recompositions.