Class MediaItem.RequestMetadata

  • All Implemented Interfaces:
    Bundleable
    Enclosing class:
    MediaItem

    public static final class MediaItem.RequestMetadata
    extends Object
    implements Bundleable
    Metadata that helps the player to understand a playback request represented by a MediaItem.

    This metadata is most useful for cases where playback requests are forwarded to other player instances (e.g. from a androidx.media3.session.MediaController) and the player creating the request doesn't know the required MediaItem.LocalConfiguration for playback.