diff --git a/libraries/common/src/main/java/androidx/media3/common/C.java b/libraries/common/src/main/java/androidx/media3/common/C.java
index 9bd445d94e..288bc7b668 100644
--- a/libraries/common/src/main/java/androidx/media3/common/C.java
+++ b/libraries/common/src/main/java/androidx/media3/common/C.java
@@ -743,8 +743,15 @@ public final class C {
public static final String LANGUAGE_UNDETERMINED = "und";
/**
- * Represents a streaming or other media type. One of {@link #TYPE_DASH}, {@link #TYPE_SS}, {@link
- * #TYPE_HLS}, {@link #TYPE_RTSP} or {@link #TYPE_OTHER}.
+ * Represents a streaming or other media type. One of:
+ *
+ *
+ * - {@link #CONTENT_TYPE_DASH}
+ *
- {@link #CONTENT_TYPE_SS}
+ *
- {@link #CONTENT_TYPE_HLS}
+ *
- {@link #CONTENT_TYPE_RTSP}
+ *
- {@link #CONTENT_TYPE_OTHER}
+ *
*/
// @Target list includes both 'default' targets and TYPE_USE, to ensure backwards compatibility
// with Kotlin usages from before TYPE_USE was added.
@@ -752,18 +759,44 @@ public final class C {
@Documented
@Retention(RetentionPolicy.SOURCE)
@Target({FIELD, METHOD, PARAMETER, LOCAL_VARIABLE, TYPE_USE})
- @IntDef({TYPE_DASH, TYPE_SS, TYPE_HLS, TYPE_RTSP, TYPE_OTHER})
+ @IntDef({
+ CONTENT_TYPE_DASH,
+ CONTENT_TYPE_SS,
+ CONTENT_TYPE_HLS,
+ CONTENT_TYPE_RTSP,
+ CONTENT_TYPE_OTHER
+ })
public @interface ContentType {}
/** Value representing a DASH manifest. */
- @UnstableApi public static final int TYPE_DASH = 0;
+ @UnstableApi public static final int CONTENT_TYPE_DASH = 0;
+ /**
+ * @deprecated Use {@link #CONTENT_TYPE_DASH} instead.
+ */
+ @Deprecated @UnstableApi public static final int TYPE_DASH = CONTENT_TYPE_DASH;
/** Value representing a Smooth Streaming manifest. */
- @UnstableApi public static final int TYPE_SS = 1;
+ @UnstableApi public static final int CONTENT_TYPE_SS = 1;
+ /**
+ * @deprecated Use {@link #CONTENT_TYPE_SS} instead.
+ */
+ @Deprecated @UnstableApi public static final int TYPE_SS = CONTENT_TYPE_SS;
/** Value representing an HLS manifest. */
- @UnstableApi public static final int TYPE_HLS = 2;
+ @UnstableApi public static final int CONTENT_TYPE_HLS = 2;
+ /**
+ * @deprecated Use {@link #CONTENT_TYPE_HLS} instead.
+ */
+ @Deprecated @UnstableApi public static final int TYPE_HLS = CONTENT_TYPE_HLS;
/** Value representing an RTSP stream. */
- @UnstableApi public static final int TYPE_RTSP = 3;
+ @UnstableApi public static final int CONTENT_TYPE_RTSP = 3;
+ /**
+ * @deprecated Use {@link #CONTENT_TYPE_RTSP} instead.
+ */
+ @Deprecated @UnstableApi public static final int TYPE_RTSP = CONTENT_TYPE_RTSP;
/** Value representing files other than DASH, HLS or Smooth Streaming manifests, or RTSP URIs. */
- @UnstableApi public static final int TYPE_OTHER = 4;
+ @UnstableApi public static final int CONTENT_TYPE_OTHER = 4;
+ /**
+ * @deprecated Use {@link #CONTENT_TYPE_OTHER} instead.
+ */
+ @Deprecated @UnstableApi public static final int TYPE_OTHER = CONTENT_TYPE_OTHER;
/** A return value for methods where the end of an input was encountered. */
@UnstableApi public static final int RESULT_END_OF_INPUT = -1;