public static class AxinomDRMConfiguration.Builder extends Object
Constructor and Description |
---|
Builder(String token)
Creates a builder for the Axinom DRM configuration.
|
Modifier and Type | Method and Description |
---|---|
AxinomDRMConfiguration |
build()
Builds the Axinom DRM configuration.
|
AxinomDRMConfiguration.Builder |
clearkey(ClearkeyKeySystemConfiguration clearkey)
Sets the configuration of the ClearKey key system.
|
AxinomDRMConfiguration.Builder |
fairplay(FairPlayKeySystemConfiguration fairplay)
Sets the configuration of the Fairplay key system.
|
AxinomDRMConfiguration.Builder |
playready(KeySystemConfiguration playready)
Sets the configuration of the PlayReady key system.
|
AxinomDRMConfiguration.Builder |
widevine(KeySystemConfiguration widevine)
Sets the configuration of the Widevine key system.
|
public Builder(String token)
token
- The Axinom authorization token. (NonNull)public AxinomDRMConfiguration.Builder fairplay(FairPlayKeySystemConfiguration fairplay)
fairplay
- The Fairplay key system. (NonNull)public AxinomDRMConfiguration.Builder playready(KeySystemConfiguration playready)
playready
- The PlayReady key system. (NonNull)public AxinomDRMConfiguration.Builder widevine(KeySystemConfiguration widevine)
widevine
- The Widevine key system. (NonNull)public AxinomDRMConfiguration.Builder clearkey(ClearkeyKeySystemConfiguration clearkey)
clearkey
- The ClearKey key system. (NonNull)public AxinomDRMConfiguration build()