-
- All Implemented Interfaces:
public class SourceDescription.Builder
The builder for SourceDescription.
-
-
Constructor Summary
Constructors Constructor Description SourceDescription.Builder(Array<String> sources)
Creates a builder for a source description using one or more source URLs. SourceDescription.Builder(Array<TypedSource> sources)
Creates a builder for a source description using one or more TypedSources. SourceDescription.Builder(Array<VerizonMediaSource> sources)
Creates a builder for a source description using one or more VerizonMediaSources. SourceDescription.Builder()
Creates a builder for a source description.
-
Method Summary
-
-
Constructor Detail
-
SourceDescription.Builder
SourceDescription.Builder(Array<String> sources)
Creates a builder for a source description using one or more source URLs.- Parameters:
sources
- One or more source URLs.
-
SourceDescription.Builder
SourceDescription.Builder(Array<TypedSource> sources)
Creates a builder for a source description using one or more TypedSources.- Parameters:
sources
- One or more TypedSources.
-
SourceDescription.Builder
SourceDescription.Builder(Array<VerizonMediaSource> sources)
Creates a builder for a source description using one or more VerizonMediaSources.- Parameters:
sources
- One or more VerizonMediaSources.
-
SourceDescription.Builder
SourceDescription.Builder()
Creates a builder for a source description.
-
-
Method Detail
-
sourceDescription
@Deprecated()@NonNull() static SourceDescription.Builder sourceDescription()
Creates a builder for a default source description.
Deprecated: Superseded by Builder or Builder, since v4.0.0.
- This configuration does not contain any sources.
-
sourceDescription
@Deprecated()@NonNull() static SourceDescription.Builder sourceDescription(@NonNull() Array<String> sources)
Creates a builder for a source description using one or more source URLs.
Deprecated: Superseded by Builder, since v4.0.0.
- Parameters:
sources
- One or more source URLs.
-
sourceDescription
@Deprecated()@NonNull() static SourceDescription.Builder sourceDescription(@NonNull() Array<TypedSource> sources)
Creates a builder for a source description using one or more TypedSources.
Deprecated: Superseded by Builder, since v4.0.0.
- Parameters:
sources
- One or more TypedSources.
-
sourceDescription
@Deprecated()@NonNull() static SourceDescription.Builder sourceDescription(@NonNull() Array<VerizonMediaSource> sources)
Creates a builder for a source description using one or more VerizonMediaSources.
Deprecated: Superseded by Builder, since v4.0.0.
- Parameters:
sources
- One or more VerizonMediaSources.
-
sources
@Deprecated()@NonNull() SourceDescription.Builder sources(@NonNull() Array<String> sources)
Sets the sources of the SourceDescription.
Deprecated: Superseded by Builder, since v4.0.0.
- Parameters:
sources
- One or more source URLs.
-
sources
@Deprecated()@NonNull() SourceDescription.Builder sources(@NonNull() Array<TypedSource> sources)
Sets the sources of the SourceDescription.
Deprecated: Superseded by Builder, since v4.0.0.
- Parameters:
sources
- One or more TypedSources.
-
ads
@NonNull() SourceDescription.Builder ads(@NonNull() Array<AdDescription> ads)
Sets the ads of the SourceDescription.
- Parameters:
ads
- One or more AdDescriptions.
-
ads
@NonNull() SourceDescription.Builder ads(@NonNull() Array<String> ads)
Sets the ads of the SourceDescription.
- Parameters:
ads
- One or more source URIs of the ad.
-
textTracks
@NonNull() SourceDescription.Builder textTracks(@NonNull() Array<TextTrackDescription> textTracks)
Sets the text tracks of the SourceDescription.
- Parameters:
textTracks
- One or more TextTrackDescriptions.
-
textTracks
@NonNull() SourceDescription.Builder textTracks(@NonNull() Array<String> textTracks)
Sets the text tracks of the SourceDescription.
- Parameters:
textTracks
- One or more source URIs of the text tracks.
-
analytics
@NonNull() SourceDescription.Builder analytics(@NonNull() Array<AnalyticsDescription> analytics)
Sets the analytics of the SourceDescription.
- All valid and supported analytics descriptions will make sure the matching analytics integrations are configured.
- Parameters:
analytics
- One or more AnalyticsDescriptions.
-
vrConfiguration
@NonNull() SourceDescription.Builder vrConfiguration(@NonNull() VRConfiguration vrConfiguration)
Sets the VR configuration of the SourceDescription.
- Parameters:
vrConfiguration
- The VRConfiguration.
-
poster
@NonNull() SourceDescription.Builder poster(@NonNull() String poster)
Sets the poster image of the SourceDescription.
- Parameters:
poster
- The URI of the posted image.
-
metadata
@NonNull() SourceDescription.Builder metadata(@NonNull() MetadataDescription metadata)
Sets the metadata of the SourceDescription.
- Parameters:
metadata
- The MetadataDescription.
-
timeServer
@NonNull() SourceDescription.Builder timeServer(@Nullable() String timeServer)
Sets the URL of a time server used by the player to synchronise the time in DASH sources.
- The time server should return time in ISO-8601 format.
- Overrides the time server provided the DASH manifest's
<UTCTiming>
. - All sources will use the time server. Alternatively, for using it for a single source use timeServer.
- Parameters:
timeServer
- The URL of a time server.
-
build
@NonNull() SourceDescription build()
Builds the SourceDescription.
-
-
-
-