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 classTitaniumDRMConfiguration.BuilderThe builder for the Titanium DRM configuration.
-
Field Summary
Fields Modifier and Type Field Description public final StringaccountNamepublic final StringcustomerNamepublic final StringportalIdpublic final StringfriendlyNamepublic final StringauthTokenpublic final Stringversionpublic final FairPlayKeySystemConfigurationfairplaypublic final KeySystemConfigurationplayreadypublic final KeySystemConfigurationwidevinepublic final ClearkeyKeySystemConfigurationclearkeypublic final Map<String, Object>integrationParameterspublic final DRMIntegrationIdintegrationpublic final StringcustomIntegrationId
-
Method Summary
Modifier and Type Method Description StringgetAccountName()The account name. StringgetCustomerName()The customer name. StringgetPortalId()The identifier of the portal. StringgetFriendlyName()The customer friendly name. StringgetAuthToken()The authentication token. StringgetVersion()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)
-
-
-