Gadulka Player
A minimalistic audio player
Example:
val player = GadulkaPlayer()
player.play(url = "...")
player.stop()
player.release()A minimalistic audio player
Example:
val player = GadulkaPlayer()
player.play(url = "...")
player.stop()
player.release()A minimalistic audio player
Example:
val player = GadulkaPlayer()
player.play(url = "...")
player.stop()
player.release()A minimalistic audio player
Example:
val player = GadulkaPlayer()
player.play(url = "...")
player.stop()
player.release()A minimalistic audio player
Example:
val player = GadulkaPlayer()
player.play(url = "...")
player.stop()
player.release()Constructors
Functions
Retrieves the total duration of the playback item in milliseconds.
Retrieves the total duration of the playback item in milliseconds.
Retrieves the total duration of the playback item in milliseconds.
Retrieves the total duration of the playback item in milliseconds.
Retrieves the total duration of the playback item in milliseconds.
Retrieves the current state of the player
Retrieves the current state of the player
Retrieves the current state of the player
Retrieves the current state of the player
Retrieves the current state of the player
Retrieves the current playback position in milliseconds.
Retrieves the current playback position in milliseconds.
Retrieves the current playback position in milliseconds.
Retrieves the current playback position in milliseconds.
Retrieves the current playback position in milliseconds.
Retrieves the current volume level of the player.
Retrieves the current volume level of the player.
Retrieves the current volume level of the player.
Retrieves the current volume level of the player.
Retrieves the current volume level of the player.
Checks whether the player is currently in a playing or buffering state.
Pauses the audio playback without resetting the play position. To resume playback, call play.
Pauses the audio playback without resetting the play position. To resume playback, call play.
Pauses the audio playback without resetting the play position. To resume playback, call play.
Pauses the audio playback without resetting the play position. To resume playback, call play.
Resumes audio playback from the current position if it was previously paused.
Android-specific implementation of the play method which uses a ContentResolver to calculate the Uri of a raw file resource bundled with the app.
Start playback of the audio resource at the provided url.
Resumes audio playback from the current position if it was previously paused.
Start playback of the audio resource at the provided url.
Resumes audio playback from the current position if it was previously paused.
Start playback of the audio resource at the provided url.
Resumes audio playback from the current position if it was previously paused.
Start playback of the audio resource at the provided url.
Pause and attempts to perform cleanup in order to dispose of any player resources.
Pause and attempts to perform cleanup in order to dispose of any player resources.
Pause and attempts to perform cleanup in order to dispose of any player resources.
Pause and attempts to perform cleanup in order to dispose of any player resources.
Stops playback and removes the player element from the DOM.
Seeks to the specified playback position in the currently playing media.
Seeks to the specified playback position in the currently playing media.
Seeks to the specified playback position in the currently playing media.
Seeks to the specified playback position in the currently playing media.
Stop playback and return the play position to the beginning of time (position 0).
Stop playback and return the play position to the beginning of time (position 0).
Stop playback and return the play position to the beginning of time (position 0).
Stop playback and return the play position to the beginning of time (position 0).
Stop playback and return the play position to the beginning of time (position 0).