MixingAudioPlayer

interface MixingAudioPlayer

Created by eml.

Copyright 2017, Feed Media LLC

Types

Companion
Link copied to clipboard
object Companion
EventListener
Link copied to clipboard
interface EventListener

Implement this listener to keep track of tracks being played

Functions

addAudioAsset
Link copied to clipboard
abstract fun addAudioAsset(play: Play)

Implement this listener to receive play controls from FeedAudioPlayer

cacheMedia
Link copied to clipboard
abstract fun cacheMedia(url: String, maxCache: Int, listener: CacheMediaListener)
destroy
Link copied to clipboard
abstract fun destroy()
flush
Link copied to clipboard
abstract fun flush()
flushAndIncludeCurrent
Link copied to clipboard
abstract fun flushAndIncludeCurrent(bTrue: Boolean)
maxSeekableLengthInSeconds
Link copied to clipboard
abstract fun maxSeekableLengthInSeconds(): Float
pause
Link copied to clipboard
abstract fun pause()
play
Link copied to clipboard
abstract fun play()
prepareTrack
Link copied to clipboard
abstract fun prepareTrack(file: Play)
seekTo
Link copied to clipboard
abstract fun seekTo(seconds: Float)
skip
Link copied to clipboard
abstract fun skip()
skipWithCrossFade
Link copied to clipboard
abstract fun skipWithCrossFade()

Properties

bTrimmingEnabled
Link copied to clipboard
abstract var bTrimmingEnabled: Boolean
currentPlay
Link copied to clipboard
abstract val currentPlay: Play?
currentPlayDuration
Link copied to clipboard
abstract val currentPlayDuration: Float
currentPlayTime
Link copied to clipboard
abstract val currentPlayTime: Float
fadeDuration
Link copied to clipboard
abstract var fadeDuration: Float
mEventListener
Link copied to clipboard
abstract var mEventListener: MixingAudioPlayer.EventListener?
state
Link copied to clipboard
abstract var state: State
volume
Link copied to clipboard
abstract var volume: Float

Inheritors

ExoMixingAudioPlayer
Link copied to clipboard