Class ConaxDRMConfiguration.Builder
-
- All Implemented Interfaces:
public class ConaxDRMConfiguration.Builder
The builder for the Conax DRM configuration.
-
-
Constructor Summary
Constructors Constructor Description ConaxDRMConfiguration.Builder(String deviceId, String token)
Creates a builder for the Conax DRM configuration.
-
Method Summary
Modifier and Type Method Description ConaxDRMConfiguration.Builder
widevine(@Nullable() KeySystemConfiguration widevine)
Sets the configuration of the Widevine key system. ConaxDRMConfiguration.Builder
clearkey(@Nullable() ClearkeyKeySystemConfiguration clearkey)
Sets the configuration of the ClearKey key system. ConaxDRMConfiguration.Builder
fairplay(@Nullable() FairPlayKeySystemConfiguration fairplay)
Sets the configuration of the Fairplay key system. ConaxDRMConfiguration.Builder
fairPlay(@Nullable() FairPlayKeySystemConfiguration fairplay)
Sets the configuration of the Fairplay key system. ConaxDRMConfiguration.Builder
playready(@Nullable() KeySystemConfiguration playready)
Sets the configuration of the PlayReady key system. ConaxDRMConfiguration
build()
Builds the Conax DRM configuration. -
-
Method Detail
-
widevine
@NonNull() ConaxDRMConfiguration.Builder widevine(@Nullable() KeySystemConfiguration widevine)
Sets the configuration of the Widevine key system.
- Parameters:
widevine
- The Widevine key system.
-
clearkey
@NonNull() ConaxDRMConfiguration.Builder clearkey(@Nullable() ClearkeyKeySystemConfiguration clearkey)
Sets the configuration of the ClearKey key system.
- Parameters:
clearkey
- The ClearKey key system.
-
fairplay
@NonNull() ConaxDRMConfiguration.Builder fairplay(@Nullable() FairPlayKeySystemConfiguration fairplay)
Sets the configuration of the Fairplay key system.
- Parameters:
fairplay
- The Fairplay key system.
-
fairPlay
@Deprecated()@NonNull() ConaxDRMConfiguration.Builder fairPlay(@Nullable() FairPlayKeySystemConfiguration fairplay)
Sets the configuration of the Fairplay key system.
- Parameters:
fairplay
- The Fairplay key system.
-
playready
@NonNull() ConaxDRMConfiguration.Builder playready(@Nullable() KeySystemConfiguration playready)
Sets the configuration of the PlayReady key system.
- Parameters:
playready
- The PlayReady key system.
-
build
@NonNull() ConaxDRMConfiguration build()
Builds the Conax DRM configuration.
-
-
-
-