Class TitaniumDRMConfiguration
-
- All Implemented Interfaces:
public class TitaniumDRMConfiguration extends DRMPreIntegrationConfiguration
The configuration of the Titanium DRM integration.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public class
TitaniumDRMConfiguration.Builder
The builder for the Titanium DRM configuration.
-
Field Summary
Fields Modifier and Type Field Description public final String
accountName
public final String
customerName
public final String
portalId
public final String
friendlyName
public final String
authToken
public final String
version
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
-
Method Summary
Modifier and Type Method Description String
getAccountName()
The account name. String
getCustomerName()
The customer name. String
getPortalId()
The identifier of the portal. String
getFriendlyName()
The customer friendly name. String
getAuthToken()
The authentication token. String
getVersion()
The version of Titanium - Only version 2 and 3 are supported.
-
Methods inherited from class com.theoplayer.android.api.source.drm.DRMConfiguration
equals, getClearkey, getCustomIntegrationId, getFairplay, getIntegration, getIntegrationParameters, getPlayready, getWidevine, hashCode
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getAccountName
@NonNull() String getAccountName()
The account name.
- Required when doing device-based authentication.
- Returns:
The name of the account. (NonNull)
-
getCustomerName
@NonNull() String getCustomerName()
The customer name.
- Required when doing device-based authentication.
- Returns:
The name of the customer. (NonNull)
-
getPortalId
@NonNull() String getPortalId()
The identifier of the portal.
- Required when doing device-based authentication.
- Returns:
The portal identifier. (NonNull)
-
getFriendlyName
@Nullable() String getFriendlyName()
The customer friendly name.
- Returns:
The friendly name of the customer. (Nullable)
-
getAuthToken
@Nullable() String getAuthToken()
The authentication token.
- This is a JSON token provided by the Titanium Secure Token Server.
- Required when doing token-based authentication.
- Returns:
The authentication token. (Nullable)
-
getVersion
@NonNull() String getVersion()
The version of Titanium
- Only version 2 and 3 are supported.
Default: "2"
- Returns:
The Titanium version. (NonNull)
-
-
-