CallbackMediaItem
public
class
CallbackMediaItem
extends MediaItem
java.lang.Object | ||
↳ | androidx.media2.common.MediaItem | |
↳ | androidx.media2.common.CallbackMediaItem |
Structure for media item descriptor for DataSourceCallback
.
Users should use CallbackMediaItem.Builder
to create CallbackMediaItem
.
You cannot directly send this object across the process through ParcelUtils
. See
MediaItem
for detail.
See also:
Summary
Nested classes | |
---|---|
class |
CallbackMediaItem.Builder
This Builder class simplifies the creation of a |
Inherited constants |
---|
Public methods | |
---|---|
DataSourceCallback
|
getDataSourceCallback()
Return the DataSourceCallback that implements the callback for the data source of this media item. |
Inherited methods | |
---|---|
Public methods
getDataSourceCallback
public DataSourceCallback getDataSourceCallback ()
Return the DataSourceCallback that implements the callback for the data source of this media item.
Returns | |
---|---|
DataSourceCallback |
the DataSourceCallback that implements the callback for the data source of this media item, |
Content and code samples on this page are subject to the licenses described in the Content License. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2020-09-30 UTC.