Commit 0c633622 by tonihei Committed by Oliver Woodman

Add @Documented and JavaDoc to HlsMetadataType.

PiperOrigin-RevId: 277519718
parent 7701c883
...@@ -19,6 +19,7 @@ package com.google.android.exoplayer2.source.hls; ...@@ -19,6 +19,7 @@ package com.google.android.exoplayer2.source.hls;
import static java.lang.annotation.RetentionPolicy.SOURCE; import static java.lang.annotation.RetentionPolicy.SOURCE;
import androidx.annotation.IntDef; import androidx.annotation.IntDef;
import java.lang.annotation.Documented;
import java.lang.annotation.Retention; import java.lang.annotation.Retention;
/** /**
...@@ -26,9 +27,12 @@ import java.lang.annotation.Retention; ...@@ -26,9 +27,12 @@ import java.lang.annotation.Retention;
* *
* <p>See {@link HlsMediaSource.Factory#setMetadataType(int)}. * <p>See {@link HlsMediaSource.Factory#setMetadataType(int)}.
*/ */
@Documented
@Retention(SOURCE) @Retention(SOURCE)
@IntDef({HlsMetadataType.ID3, HlsMetadataType.EMSG}) @IntDef({HlsMetadataType.ID3, HlsMetadataType.EMSG})
public @interface HlsMetadataType { public @interface HlsMetadataType {
/** Type for ID3 metadata in HLS streams. */
int ID3 = 1; int ID3 = 1;
/** Type for ESMG metadata in HLS streams. */
int EMSG = 3; int EMSG = 3;
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment