Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
SDK
/
exoplayer
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
e4b49477
authored
Mar 26, 2019
by
olly
Committed by
Oliver Woodman
Mar 26, 2019
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Some nullability cleanup for HLS playlists
PiperOrigin-RevId: 240318686
parent
679b6283
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
library/hls/src/main/java/com/google/android/exoplayer2/source/hls/playlist/HlsMediaPlaylist.java
library/hls/src/main/java/com/google/android/exoplayer2/source/hls/playlist/HlsMediaPlaylist.java
View file @
e4b49477
...
@@ -43,7 +43,7 @@ public final class HlsMediaPlaylist extends HlsPlaylist {
...
@@ -43,7 +43,7 @@ public final class HlsMediaPlaylist extends HlsPlaylist {
* the media playlist does not define a media section for this segment. The same instance is
* the media playlist does not define a media section for this segment. The same instance is
* used for all segments that share an EXT-X-MAP tag.
* used for all segments that share an EXT-X-MAP tag.
*/
*/
public
final
@Nullable
Segment
initializationSegment
;
@Nullable
public
final
Segment
initializationSegment
;
/** The duration of the segment in microseconds, as defined by #EXTINF. */
/** The duration of the segment in microseconds, as defined by #EXTINF. */
public
final
long
durationUs
;
public
final
long
durationUs
;
/** The human readable title of the segment. */
/** The human readable title of the segment. */
...
@@ -60,17 +60,17 @@ public final class HlsMediaPlaylist extends HlsPlaylist {
...
@@ -60,17 +60,17 @@ public final class HlsMediaPlaylist extends HlsPlaylist {
* DRM initialization data for sample decryption, or null if the segment does not use CDM-DRM
* DRM initialization data for sample decryption, or null if the segment does not use CDM-DRM
* protection.
* protection.
*/
*/
public
final
@Nullable
DrmInitData
drmInitData
;
@Nullable
public
final
DrmInitData
drmInitData
;
/**
/**
* The encryption identity key uri as defined by #EXT-X-KEY, or null if the segment does not use
* The encryption identity key uri as defined by #EXT-X-KEY, or null if the segment does not use
* full segment encryption with identity key.
* full segment encryption with identity key.
*/
*/
public
final
@Nullable
String
fullSegmentEncryptionKeyUri
;
@Nullable
public
final
String
fullSegmentEncryptionKeyUri
;
/**
/**
* The encryption initialization vector as defined by #EXT-X-KEY, or null if the segment is not
* The encryption initialization vector as defined by #EXT-X-KEY, or null if the segment is not
* encrypted.
* encrypted.
*/
*/
public
final
@Nullable
String
encryptionIV
;
@Nullable
public
final
String
encryptionIV
;
/**
/**
* The segment's byte range offset, as defined by #EXT-X-BYTERANGE.
* The segment's byte range offset, as defined by #EXT-X-BYTERANGE.
*/
*/
...
@@ -222,7 +222,7 @@ public final class HlsMediaPlaylist extends HlsPlaylist {
...
@@ -222,7 +222,7 @@ public final class HlsMediaPlaylist extends HlsPlaylist {
* Contains the CDM protection schemes used by segments in this playlist. Does not contain any key
* Contains the CDM protection schemes used by segments in this playlist. Does not contain any key
* acquisition data. Null if none of the segments in the playlist is CDM-encrypted.
* acquisition data. Null if none of the segments in the playlist is CDM-encrypted.
*/
*/
public
final
@Nullable
DrmInitData
protectionSchemes
;
@Nullable
public
final
DrmInitData
protectionSchemes
;
/**
/**
* The list of segments in the playlist.
* The list of segments in the playlist.
*/
*/
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment