Fix deprecated reference to Player.EventListener in the dev guide

#minor-release

PiperOrigin-RevId: 417961565
This commit is contained in:
ibaker 2021-12-23 09:22:57 +00:00 committed by tonihei
parent 086688ed3c
commit fa419f21a9

View File

@ -6,7 +6,7 @@ title: Retrieving metadata
The metadata of the media can be retrieved during playback in multiple ways. The The metadata of the media can be retrieved during playback in multiple ways. The
most straightforward is to listen for the most straightforward is to listen for the
`Player.EventListener#onMediaMetadataChanged` event; this will provide a `Player.Listener#onMediaMetadataChanged` event; this will provide a
[`MediaMetadata`][] object for use, which has fields such as `title` and [`MediaMetadata`][] object for use, which has fields such as `title` and
`albumArtist`. Alternatively, calling `Player#getMediaMetadata` returns the same `albumArtist`. Alternatively, calling `Player#getMediaMetadata` returns the same
object. object.