diff --git a/pillarbox-player/src/main/java/ch/srgssr/pillarbox/player/extension/MediaItem.kt b/pillarbox-player/src/main/java/ch/srgssr/pillarbox/player/extension/MediaItem.kt index 83e919240..50ffbd09c 100644 --- a/pillarbox-player/src/main/java/ch/srgssr/pillarbox/player/extension/MediaItem.kt +++ b/pillarbox-player/src/main/java/ch/srgssr/pillarbox/player/extension/MediaItem.kt @@ -29,7 +29,7 @@ fun MediaItem.getMediaItemTrackerData(): MediaItemTrackerData { } /** - * Set tracker data. + * Set tracker data. This method should only be called if {@link #setUri} is passed a non-null value. * @see MediaItem.Builder.setTag * @param trackerData Set trackerData to [MediaItem.Builder.setTag]. * @return [MediaItem.Builder] for convenience