UriMediaItem
open class UriMediaItem : MediaItem
androidx.media2.common.MediaItem | |
↳ | androidx.media2.common.UriMediaItem |
Structure for media item descriptor for Uri
.
Users should use Builder
to create UriMediaItem
.
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 |
Inherited constants | |
---|---|
Public methods | |
---|---|
open Uri |
getUri() Return the Uri of this media item. |
open MutableList<HttpCookie!>? |
Return the Uri cookies of this media item. |
open MutableMap<String!, String!>? |
Return the Uri headers of this media item. |
Inherited functions | |
---|---|
Public methods
getUri
@NonNull open fun getUri(): Uri
Return the Uri of this media item.
Return | |
---|---|
Uri |
the Uri of this media item |
getUriCookies
@Nullable open fun getUriCookies(): MutableList<HttpCookie!>?
Return the Uri cookies of this media item.
Return | |
---|---|
MutableList<HttpCookie!>? |
the Uri cookies of this media item |
getUriHeaders
@Nullable open fun getUriHeaders(): MutableMap<String!, String!>?
Return the Uri headers of this media item.
Return | |
---|---|
MutableMap<String!, String!>? |
the Uri headers of this media item |