As a user / integrator When a PlaybackSession transition from one to another, I want to be able to retrieve the position of the player when event occurs and not the current player position.
Acceptance criteria
When session is finished, the player position can be retrieved
Proposition
fun onSessionCreated(session: Session, position:Long) = Unit
fun onCurrentSessionChanged(
last: Session?,
current: Session?,
lastPosition: Long?,
currentPosition: Long?,
) = Unit
fun onSessionDestroyed(session: Session) = Unit
As a user / integrator When a PlaybackSession transition from one to another, I want to be able to retrieve the position of the player when event occurs and not the current player position.
Acceptance criteria
Proposition
Tasks