Back to Exoplayer

MetadataOutput (ExoPlayer library)

docs/doc/reference/com/google/android/exoplayer2/metadata/MetadataOutput.html

latest1.2 KB
Original Source

Package com.google.android.exoplayer2.metadata

Interface MetadataOutput


[@Deprecated](https://developer.android.com/reference/java/lang/Deprecated.html "class or interface in java.lang")public interfaceMetadataOutput

Deprecated. com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.

Receives metadata output.

Method Summary

All Methods Instance Methods Abstract Methods Deprecated Methods | Modifier and Type | Method | Description | | --- | --- | --- | | void | onMetadata​(Metadata metadata) | Deprecated.

Called when there is metadata associated with current playback time. |

Method Detail

- 

onMetadata

void onMetadata​([Metadata](Metadata.html "class in com.google.android.exoplayer2.metadata")metadata)

Deprecated.

Called when there is metadata associated with current playback time. Parameters:metadata - The metadata.