Interface TimelineQueueEditor.MediaDescriptionConverter
-
- Enclosing class:
- TimelineQueueEditor
public static interface TimelineQueueEditor.MediaDescriptionConverter
Converts aMediaDescriptionCompat
to aMediaItem
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MediaItem
convert(android.support.v4.media.MediaDescriptionCompat description)
Returns aMediaItem
for the givenMediaDescriptionCompat
or null if the description can't be converted.
-
-
-
Method Detail
-
convert
@Nullable MediaItem convert(android.support.v4.media.MediaDescriptionCompat description)
Returns aMediaItem
for the givenMediaDescriptionCompat
or null if the description can't be converted.If not null, the media item that is returned will be used to call
Player.addMediaItem(MediaItem)
.
-
-