-
- All Implemented Interfaces:
public class VerizonMediaSource extends TypedSource
The Verizon Media Source.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classVerizonMediaSource.BuilderThe builder for VerizonMediaSource.
-
Field Summary
Fields Modifier and Type Field Description private final Stringprefixprivate final Array<String>assetIdsprivate final VerizonMediaExternalIdexternalIdprivate final Map<String, String>preplayParametersprivate final Map<String, String>playbackUrlParametersprivate final VerizonMediaAssetTypeassetTypeprivate final VerizonMediaPingConfigurationping
-
Method Summary
Modifier and Type Method Description StringgetPrefix()The prefix used for Verizon Media Preplay API and Asset Info API requests. Array<String>getAssetIds()One or multiple asset Identifiers. VerizonMediaExternalIdgetExternalId()The external Id used by Verizon Media. Map<String, String>getPreplayParameters()A Map of query string parameters added to Verizon Media Preplay requests. Map<String, String>getPlaybackUrlParameters()A Map of query string parameters added to Verizon Media playback requests. VerizonMediaAssetTypegetAssetType()The asset content type of the source. VerizonMediaPingConfigurationgetPing()The Ping API feature configuration of the source. ReadOnlyMapStringgetParameters()A Map of query string parameters added to Verizon Media Preplay requests. booleanisContentProtected()Returns whether the assets of the source are content protected. booleanequals(Object o)inthashCode()-
Methods inherited from class com.theoplayer.android.api.source.TypedSource
getDrm, getHls, getLiveOffset, getSrc, getSsai, getTimeServer, getType, isHlsDateRange, isLowLatency, isNativeRenderingEnabled, isNativeUiRenderingEnabled -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getPrefix
@Nullable() String getPrefix()
The prefix used for Verizon Media Preplay API and Asset Info API requests.
-
getAssetIds
@Nullable() Array<String> getAssetIds()
One or multiple asset Identifiers.
- When multiple assets are present, they will be appended in the given order for a Preplay request.
-
getExternalId
@Nullable() VerizonMediaExternalId getExternalId()
The external Id used by Verizon Media.
-
getPreplayParameters
@Nullable() Map<String, String> getPreplayParameters()
A Map of query string parameters added to Verizon Media Preplay requests. Each entry contains the parameter name with associated value.
-
getPlaybackUrlParameters
@Nullable() Map<String, String> getPlaybackUrlParameters()
A Map of query string parameters added to Verizon Media playback requests. Each entry contains the parameter name with associated value.
-
getAssetType
@NonNull() VerizonMediaAssetType getAssetType()
The asset content type of the source.
Default: ASSET.
-
getPing
@NonNull() VerizonMediaPingConfiguration getPing()
The Ping API feature configuration of the source.
- A configuration with all features disabled will prevent Ping requests being sent.
Default: VerizonMediaPingConfiguration
-
getParameters
@Deprecated()@Nullable() ReadOnlyMapString getParameters()
A Map of query string parameters added to Verizon Media Preplay requests. Each entry contains the parameter name with associated value.
-
isContentProtected
boolean isContentProtected()
Returns whether the assets of the source are content protected.
Default: false
-
hashCode
int hashCode()
-
-
-
-