Class DRMConfiguration
-
- All Implemented Interfaces:
public class DRMConfiguration
The configuration of digital rights management(DRM).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public class
DRMConfiguration.Builder
The builder for the DRM configuration.
-
Field Summary
Fields Modifier and Type Field Description public final FairPlayKeySystemConfiguration
fairplay
public final KeySystemConfiguration
playready
public final KeySystemConfiguration
widevine
public final ClearkeyKeySystemConfiguration
clearkey
public final Map<String, Object>
integrationParameters
public final DRMIntegrationId
integration
public final String
customIntegrationId
-
Constructor Summary
Constructors Constructor Description DRMConfiguration(FairPlayKeySystemConfiguration fairplay, KeySystemConfiguration playready, KeySystemConfiguration widevine, ClearkeyKeySystemConfiguration clearkey, Map<String, Object> integrationParameters, String customIntegrationId, DRMIntegrationId integration)
-
Method Summary
Modifier and Type Method Description FairPlayKeySystemConfiguration
getFairplay()
The Fairplay key system configuration. KeySystemConfiguration
getPlayready()
The PlayReady key system configuration. KeySystemConfiguration
getWidevine()
The Widevine key system configuration. ClearkeyKeySystemConfiguration
getClearkey()
The ClearKey key system configuration. Map<String, Object>
getIntegrationParameters()
A map which can be used to pass in specific parameters related to a source into a ContentProtectionIntegration. DRMIntegrationId
getIntegration()
The identifier of the DRM integration. String
getCustomIntegrationId()
The custom integration identifier of the DRM integration. boolean
equals(Object o)
int
hashCode()
-
-
Constructor Detail
-
DRMConfiguration
DRMConfiguration(FairPlayKeySystemConfiguration fairplay, KeySystemConfiguration playready, KeySystemConfiguration widevine, ClearkeyKeySystemConfiguration clearkey, Map<String, Object> integrationParameters, String customIntegrationId, DRMIntegrationId integration)
-
-
Method Detail
-
getFairplay
@Nullable() FairPlayKeySystemConfiguration getFairplay()
The Fairplay key system configuration.
- Returns:
The FairPlayKeySystemConfiguration. (Nullable)
-
getPlayready
@Nullable() KeySystemConfiguration getPlayready()
The PlayReady key system configuration.
- Returns:
The PlayReady KeySystemConfiguration. (Nullable)
-
getWidevine
@Nullable() KeySystemConfiguration getWidevine()
The Widevine key system configuration.
- Returns:
The Widevine KeySystemConfiguration. (Nullable)
-
getClearkey
@Nullable() ClearkeyKeySystemConfiguration getClearkey()
The ClearKey key system configuration.
- Returns:
The ClearKey KeySystemConfiguration. (Nullable)
-
getIntegrationParameters
@NonNull() Map<String, Object> getIntegrationParameters()
A map which can be used to pass in specific parameters related to a source into a ContentProtectionIntegration.
-
getIntegration
@NonNull() DRMIntegrationId getIntegration()
The identifier of the DRM integration.
- Returns:
The DRMIntegrationId. (NonNull)
-
getCustomIntegrationId
@Nullable() String getCustomIntegrationId()
The custom integration identifier of the DRM integration.
-
hashCode
int hashCode()
-
-
-
-