mirror of
https://github.com/androidx/media.git
synced 2025-05-11 17:49:52 +08:00
Fix deprecated reference to Player.EventListener in the dev guide
#minor-release PiperOrigin-RevId: 417961565
This commit is contained in:
parent
086688ed3c
commit
fa419f21a9
@ -6,7 +6,7 @@ title: Retrieving metadata
|
||||
|
||||
The metadata of the media can be retrieved during playback in multiple ways. 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
|
||||
`albumArtist`. Alternatively, calling `Player#getMediaMetadata` returns the same
|
||||
object.
|
||||
|
Loading…
x
Reference in New Issue
Block a user