java.lang.Object | |
↳ | com.pspdfkit.media.MediaUri |
Representation of the parsed URI used for media links.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
enum | MediaUri.UriType | Type of the media URI. |
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
public static final Creator<MediaUri> | CREATOR | A field that generates the instances of MediaUri class from Parcel . |
Protected Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
MediaUri(Parcel in) |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | describeContents() | ||||||||||
boolean | equals(Object obj) | ||||||||||
Uri |
getFileUri(Context context)
Returns URI of the media file that will be played.
| ||||||||||
String |
getOptions()
Options inside the [] brackets in
pspdfkit:// link. | ||||||||||
Uri |
getParsedUri()
Creates Uri object from the
getUri() . | ||||||||||
MediaUri.UriType |
getType()
Type of the media uri.
| ||||||||||
String |
getUri()
Uri part of the
pspdfkit:// link. | ||||||||||
MediaLinkUtils.VideoSettings |
getVideoSettingsFromOptions()
Parses video settings from provided options.
| ||||||||||
int | hashCode() | ||||||||||
boolean |
isVideoUri()
Test if media uri is pointing to a video resource.
| ||||||||||
static MediaUri |
parse(String fullUri)
Parse link media URI.
| ||||||||||
String | toString() | ||||||||||
void | writeToParcel(Parcel dest, int flags) |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Returns URI of the media file that will be played.
Options inside the [] brackets in pspdfkit://
link.
Creates Uri object from the getUri()
.
Parses video settings from provided options. That is the content inside the [] brackets in
pspdfkit://
link.
Test if media uri is pointing to a video resource.
true
if media uri points to video (local or youtube).
Parse link media URI.
fullUri | Full URI of the media file. |
---|