Class XstreamConfiguration.Builder
-
- All Implemented Interfaces:
public class XstreamConfiguration.Builder
The builder for the Xstream DRM configuration.
-
-
Constructor Summary
Constructors Constructor Description XstreamConfiguration.Builder(String streamId, String ticketAcquisitionURL)
Creates a Builder for an XstreamConfiguration.
-
Method Summary
Modifier and Type Method Description XstreamConfiguration.Builder
sessionId(@NonNull() String sessionId)
Sets the session identifier. XstreamConfiguration.Builder
playready(@NonNull() KeySystemConfiguration playready)
Sets the PlayReady key system configuration. XstreamConfiguration.Builder
widevine(@NonNull() KeySystemConfiguration widevine)
Sets the Widevine key system configuration. XstreamConfiguration
build()
Builds the Xstream DRM Configuration. -
-
Method Detail
-
sessionId
@NonNull() XstreamConfiguration.Builder sessionId(@NonNull() String sessionId)
Sets the session identifier. (NonNull)
-
playready
@NonNull() XstreamConfiguration.Builder playready(@NonNull() KeySystemConfiguration playready)
Sets the PlayReady key system configuration.
- Parameters:
playready
- A KeySystemConfiguration representing a PlayReady integration configuration.
-
widevine
@NonNull() XstreamConfiguration.Builder widevine(@NonNull() KeySystemConfiguration widevine)
Sets the Widevine key system configuration.
- Parameters:
widevine
- A KeySystemConfiguration representing a Widevine integration configuration.
-
build
@NonNull() XstreamConfiguration build()
Builds the Xstream DRM Configuration.
-
-
-
-