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