getPeriodicallyCurrentMetricsAsState

Observe the PillarboxExoPlayer.getCurrentMetrics property as a State.

Return

A State that represents the current metrics of the PillarboxExoPlayer, or null if none.

Parameters

updateInterval

The interval at which this value is updated.