-
- All Implemented Interfaces:
public class VerizonMediaSource extends TypedSource
The Verizon Media Source.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public class
VerizonMediaSource.Builder
The builder for VerizonMediaSource.
-
Field Summary
Fields Modifier and Type Field Description private final String
prefix
private final Array<String>
assetIds
private final VerizonMediaExternalId
externalId
private final Map<String, String>
preplayParameters
private final Map<String, String>
playbackUrlParameters
private final VerizonMediaAssetType
assetType
private final VerizonMediaPingConfiguration
ping
-
Method Summary
Modifier and Type Method Description String
getPrefix()
The prefix used for Verizon Media Preplay API and Asset Info API requests. Array<String>
getAssetIds()
One or multiple asset Identifiers. VerizonMediaExternalId
getExternalId()
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. VerizonMediaAssetType
getAssetType()
The asset content type of the source. VerizonMediaPingConfiguration
getPing()
The Ping API feature configuration of the source. ReadOnlyMapString
getParameters()
A Map of query string parameters added to Verizon Media Preplay requests. boolean
isContentProtected()
Returns whether the assets of the source are content protected. boolean
equals(Object o)
int
hashCode()
-
Methods inherited from class com.theoplayer.android.api.source.TypedSource
getDash, 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()
-
-
-
-