getPeriodicallyCurrentMetricsAsState

Observe the PillarboxPlayer.getCurrentMetrics property as a State.

Return

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

Parameters

updateInterval

The interval at which this value is updated.