mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +00:00
Add FOLDER_TYPE_NONE to MediaMetadata
PiperOrigin-RevId: 375883879
This commit is contained in:
parent
2e5c95e80a
commit
beb13f62a7
1 changed files with 3 additions and 0 deletions
|
|
@ -245,6 +245,7 @@ public final class MediaMetadata implements Bundleable {
|
||||||
@Documented
|
@Documented
|
||||||
@Retention(RetentionPolicy.SOURCE)
|
@Retention(RetentionPolicy.SOURCE)
|
||||||
@IntDef({
|
@IntDef({
|
||||||
|
FOLDER_TYPE_NONE,
|
||||||
FOLDER_TYPE_MIXED,
|
FOLDER_TYPE_MIXED,
|
||||||
FOLDER_TYPE_TITLES,
|
FOLDER_TYPE_TITLES,
|
||||||
FOLDER_TYPE_ALBUMS,
|
FOLDER_TYPE_ALBUMS,
|
||||||
|
|
@ -255,6 +256,8 @@ public final class MediaMetadata implements Bundleable {
|
||||||
})
|
})
|
||||||
public @interface FolderType {}
|
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. */
|
/** Type for a folder containing media of mixed types. */
|
||||||
public static final int FOLDER_TYPE_MIXED = 0;
|
public static final int FOLDER_TYPE_MIXED = 0;
|
||||||
/** Type for a folder containing only playable media. */
|
/** Type for a folder containing only playable media. */
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue