Interface MetadataOutput


  • @Deprecated
    public interface MetadataOutput
    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 Detail

      • onMetadata

        void onMetadata​(Metadata metadata)
        Deprecated.
        Called when there is metadata associated with current playback time.
        Parameters:
        metadata - The metadata.