Session
Represents a playback session associated with a MediaItem in a Timeline.
A session is linked to the period inside the timeline, see Timeline.getUidOfPeriod.
A session is created when the player interacts with a MediaItem.
A session is considered the "current" session if its mediaItem is the current
MediaItem
.A session is destroyed when:
It's no longer the current session (e.g., switching media items).
Its mediaItem is removed from the playlist.
The player reach idle state.
Properties
Link copied to clipboard
The last known Window associated with this session.
Link copied to clipboard
The id of the window in the timeline, obtained from Window.uid.