Google은 흑인 공동체를 위한 인종 간 평등을 진전시키기 위해 노력하고 있습니다. Google에서 어떤 노력을 하고 있는지 확인하세요.

CallbackMediaItem

open class CallbackMediaItem : MediaItem
androidx.media2.common.MediaItem
   ↳ androidx.media2.common.CallbackMediaItem

Structure for media item descriptor for DataSourceCallback.

Users should use Builder to create CallbackMediaItem.

You cannot directly send this object across the process through ParcelUtils. See MediaItem for detail.

Summary

Nested classes

This Builder class simplifies the creation of a CallbackMediaItem object.

Inherited constants
Public methods
open DataSourceCallback

Return the DataSourceCallback that implements the callback for the data source of this media item.

Inherited functions

Public methods

getDataSourceCallback

@NonNull open fun getDataSourceCallback(): DataSourceCallback

Return the DataSourceCallback that implements the callback for the data source of this media item.

Return
DataSourceCallback the DataSourceCallback that implements the callback for the data source of this media item,