From c6d0c0b3cb00798b4fdf64ce31ece7d86ff3d81c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joaquim=20St=C3=A4hli?= Date: Wed, 14 Feb 2024 11:47:18 +0100 Subject: [PATCH] Add doc for setTrackerData extension --- .../main/java/ch/srgssr/pillarbox/player/extension/MediaItem.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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