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
beb13f62
authored
May 26, 2021
by
gyumin
Committed by
Oliver Woodman
May 26, 2021
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Add FOLDER_TYPE_NONE to MediaMetadata
PiperOrigin-RevId: 375883879
parent
2e5c95e8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
library/common/src/main/java/com/google/android/exoplayer2/MediaMetadata.java
library/common/src/main/java/com/google/android/exoplayer2/MediaMetadata.java
View file @
beb13f62
...
...
@@ -245,6 +245,7 @@ public final class MediaMetadata implements Bundleable {
@Documented
@Retention
(
RetentionPolicy
.
SOURCE
)
@IntDef
({
FOLDER_TYPE_NONE
,
FOLDER_TYPE_MIXED
,
FOLDER_TYPE_TITLES
,
FOLDER_TYPE_ALBUMS
,
...
...
@@ -255,6 +256,8 @@ public final class MediaMetadata implements Bundleable {
})
public
@interface
FolderType
{}
/** Type for an item that is not a folder. */
public
static
final
int
FOLDER_TYPE_NONE
=
-
1
;
/** Type for a folder containing media of mixed types. */
public
static
final
int
FOLDER_TYPE_MIXED
=
0
;
/** Type for a folder containing only playable media. */
...
...
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