mirror of
https://github.com/samsonjs/media.git
synced 2026-04-05 11:15:46 +00:00
Add @Documented and JavaDoc to HlsMetadataType.
PiperOrigin-RevId: 277519718
This commit is contained in:
parent
7701c883de
commit
0c63362258
1 changed files with 4 additions and 0 deletions
|
|
@ -19,6 +19,7 @@ package com.google.android.exoplayer2.source.hls;
|
|||
import static java.lang.annotation.RetentionPolicy.SOURCE;
|
||||
|
||||
import androidx.annotation.IntDef;
|
||||
import java.lang.annotation.Documented;
|
||||
import java.lang.annotation.Retention;
|
||||
|
||||
/**
|
||||
|
|
@ -26,9 +27,12 @@ import java.lang.annotation.Retention;
|
|||
*
|
||||
* <p>See {@link HlsMediaSource.Factory#setMetadataType(int)}.
|
||||
*/
|
||||
@Documented
|
||||
@Retention(SOURCE)
|
||||
@IntDef({HlsMetadataType.ID3, HlsMetadataType.EMSG})
|
||||
public @interface HlsMetadataType {
|
||||
/** Type for ID3 metadata in HLS streams. */
|
||||
int ID3 = 1;
|
||||
/** Type for ESMG metadata in HLS streams. */
|
||||
int EMSG = 3;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue