-
- All Implemented Interfaces:
public interface VerizonMediaAssetInfoResponse
Represents a Verizon Media Asset Info Response.
-
-
Method Summary
Modifier and Type Method Description abstract int
isAudioOnly()
Returns whether the asset is audio only. abstract List<Boundary>
getBoundaryDetails()
List of objects which contain information for the boundaries for the asset. abstract int
hasError()
Returns whether an error occurred. abstract VerizonMediaAssetTvRating
getTvRating()
The tv-rating of the asset. abstract int
getMaxSlice()
Returns the number of slices available for the asset. abstract String
getThumbPrefix()
The prefix URL to the thumbnails. abstract double
getSliceDur()
The average slice duration. abstract VerizonMediaAssetMovieRating
getMovieRating()
The movie rating of the asset. abstract String
getOwner()
The identifier of the owner. abstract Map<String, Object>
getMeta()
The metadata attached to the asset. abstract List<Integer>
getRates()
The available bitrates of the asset. abstract List<ThumbnailResolution>
getThumbs()
List of thumbnail resolutions of the asset. abstract String
getPosterUrl()
The poster URL of the asset. abstract double
getDuration()
The duration of the asset. abstract String
getDefaultPosterUrl()
The default poster URL created for the asset. abstract String
getDesc()
The description of the asset. abstract int
getRatingFlags()
The ratings for the asset, as bitwise flags. abstract String
getExternalId()
The identifier of the external source. abstract int
isAd()
Returns whether the asset is an ad. abstract String
getAsset()
The identifier of the asset. -
-
Method Detail
-
isAudioOnly
abstract int isAudioOnly()
Returns whether the asset is audio only.
- False if zero, true otherwise.
-
getBoundaryDetails
@Nullable() abstract List<Boundary> getBoundaryDetails()
List of objects which contain information for the boundaries for the asset.
- Will contain instances of the subclasses of Boundary.
-
hasError
abstract int hasError()
Returns whether an error occurred.
- None if zero, has one otherwise.
-
getTvRating
@NonNull() abstract VerizonMediaAssetTvRating getTvRating()
The tv-rating of the asset.
- For all possibilities, see: VerizonMediaAssetTvRating.
-
getMaxSlice
abstract int getMaxSlice()
Returns the number of slices available for the asset.
-
getThumbPrefix
@NonNull() abstract String getThumbPrefix()
The prefix URL to the thumbnails.
-
getSliceDur
abstract double getSliceDur()
The average slice duration.
-
getMovieRating
abstract VerizonMediaAssetMovieRating getMovieRating()
The movie rating of the asset.
- For all possibilities, see: VerizonMediaAssetMovieRating.
-
getOwner
@NonNull() abstract String getOwner()
The identifier of the owner.
Example:
- "fb3a4cb996THEOOWNERa101477ffad8fb"
-
getMeta
@NonNull() abstract Map<String, Object> getMeta()
The metadata attached to the asset.
- Metadata may be added via the CMS.
-
getThumbs
@NonNull() abstract List<ThumbnailResolution> getThumbs()
List of thumbnail resolutions of the asset.
-
getPosterUrl
@NonNull() abstract String getPosterUrl()
The poster URL of the asset.
-
getDuration
abstract double getDuration()
The duration of the asset.
-
getDefaultPosterUrl
@NonNull() abstract String getDefaultPosterUrl()
The default poster URL created for the asset.
-
getRatingFlags
abstract int getRatingFlags()
The ratings for the asset, as bitwise flags. These available flags are the following:
- D: Drug-related themes are present
- V: Violence is present
- S: Sexual situations are present
- L: Adult Language is present
- [D][V][S][L] - 0: No rating flag.
- [D][V][S][L] - 1: Language flag.
- [D][V][S][L] - 2: Sex flag.
- [D][V][S][L] - 4: Violence flag.
- [D][V][S][L] - 8: Drugs flag.
- [D][V][S][L] - 15: All flags are on.
-
getExternalId
@NonNull() abstract String getExternalId()
The identifier of the external source.
-
isAd
abstract int isAd()
Returns whether the asset is an ad.
- False if zero, true otherwise.
-
-
-
-