remove

abstract fun remove(source: Source)

Removes the source from the active playback session. Trying to remove the active source has no effect and will result in a no-op.

Has no effect if there is no active playback session or if the source is not part of it.


abstract fun remove(index: Int)

Removes the source at index from the active playback session. Trying to remove the active source has no effect and will result in a no-op.

Has no effect if there is no active playback session or if index is < 0 or index is size of sources.