IntegratedMediaPlayer

class IntegratedMediaPlayer(audioPlayer: UriSourcePlayablePlayer, ttsPlayer: AttachmentPlayablePlayer) : MediaPlayerInterface

Constructors

Link copied to clipboard
fun IntegratedMediaPlayer(audioPlayer: UriSourcePlayablePlayer, ttsPlayer: AttachmentPlayablePlayer)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun getOffset(id: SourceId): Long
Link copied to clipboard
open override fun pause(id: SourceId): Boolean
Link copied to clipboard
open override fun play(id: SourceId): Boolean
Link copied to clipboard
open override fun resume(id: SourceId): Boolean
Link copied to clipboard
open override fun seekTo(id: SourceId, offsetInMilliseconds: Long): Boolean
Link copied to clipboard
open override fun setBufferEventListener(listener: MediaPlayerControlInterface.BufferEventListener)
Link copied to clipboard
open override fun setOnDurationListener(listener: MediaPlayerControlInterface.OnDurationListener)
Link copied to clipboard
open override fun setPlaybackEventListener(listener: MediaPlayerControlInterface.PlaybackEventListener)
Link copied to clipboard
open override fun setSource(attachmentReader: Attachment.Reader): SourceId
open override fun setSource(uri: URI, cacheKey: CacheKey?): SourceId
Link copied to clipboard
open override fun setVolume(volume: Float)
Link copied to clipboard
open override fun stop(id: SourceId): Boolean