Class Action.SetMediaItems

    • Constructor Detail

      • SetMediaItems

        public SetMediaItems​(String tag,
                             int mediaItemIndex,
                             long positionMs,
                             MediaSource... mediaSources)
        Parameters:
        tag - A tag to use for logging.
        mediaItemIndex - The media item index to start playback from.
        positionMs - The position in milliseconds to start playback from.
        mediaSources - The media sources to populate the playlist with.