Skip to content

Provide correct position when session finished #680

@StaehliJ

Description

@StaehliJ

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

Tasks

  • ...

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

Status

✅ Done

Relationships

None yet

Development

No branches or pull requests

Issue actions