onCreditChanged

open override fun onCreditChanged(eventTime: AnalyticsListener.EventTime, credit: Credit?)

Called when the current credit changes. This can occur when either:

  • The player's position changes naturally during playback.

  • The user seeks to a new position.

  • The playlist changes.

Parameters

eventTime
credit

The active Credit, or null if the current position is not within a credit.