-
- 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 private final String
accountName
private final String
customerName
private final String
portalId
private final String
friendlyName
private final String
authToken
private final String
version
-
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.
-
getCustomerName
@NonNull() String getCustomerName()
The customer name.
- Required when doing device-based authentication.
-
getPortalId
@NonNull() String getPortalId()
The identifier of the portal.
- Required when doing device-based authentication.
-
getFriendlyName
@Nullable() String getFriendlyName()
The customer friendly name.
-
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.
-
getVersion
@NonNull() String getVersion()
The version of Titanium
- Only version 2 and 3 are supported.
Default: "2"
-
-
-