durationAsState

Observe the Player.getDuration property as a State.

Return

A State that represents the duration of the current MediaItem.