Enum DRMIntegrationId
-
- All Implemented Interfaces:
public enum DRMIntegrationId
The identifier of a DRM integration.
-
-
Field Summary
Fields Modifier and Type Field Description public final String
integrationId
-
Enum Constant Summary
Enum Constants Enum Constant Description TITANIUM
The Titanium DRM integration identifier, see TitaniumDRMConfiguration for more information.
VUDRM
The Vudrm DRM integration identifier, see VudrmDRMConfiguration for more information.
KEYOS
The KeyOS DRM integration identifier, see KeyOSDRMConfiguration for more information.
CONAX
The Conax DRM integration identifier, see ConaxDRMConfiguration for more information.
DRMTODAY
The DRMtoday DRM integration identifier, see DRMTodayConfiguration for more information.
IRDETO
The Irdeto DRM integration identifier, see IrdetoConfiguration for more information.
XSTREAM
The Xstream DRM integration identifier, see XstreamConfiguration for more information.
AXINOM
The Axinom DRM integration identifier, see AxinomDRMConfiguration for more information.
AZURE
The Azure DRM integration identifier, see AzureDRMConfiguration for more information.
CUSTOM
The custom DRM integration identifier. If this one is used, THEOplayer will use getCustomIntegrationId instead to determine which com.theoplayer.android.api.contentprotection.ContentProtectionIntegration to use.
-
Method Summary
Modifier and Type Method Description static DRMIntegrationId
from(String integrationId)
Creates a DRM integration identifier from a textual representation. static Array<DRMIntegrationId>
values()
Returns an array containing the constants of this enum type, in the order they're declared. static DRMIntegrationId
valueOf(String name)
Returns the enum constant of this type with the specified name. String
getIntegrationId()
The textual representation of the DRM integration identifier. -
-
Method Detail
-
from
@Nullable() static DRMIntegrationId from(String integrationId)
Creates a DRM integration identifier from a textual representation.
- Parameters:
integrationId
- The textual representation of the DRM integration identifier.- Returns:
The DRMIntegrationId which corresponds to the textual representation. (Nullable)
-
values
static Array<DRMIntegrationId> values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.
- Returns:
an array containing the constants of this enum type, in the order they're declared
-
valueOf
static DRMIntegrationId valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
- Returns:
the enum constant with the specified name
-
getIntegrationId
@NonNull() String getIntegrationId()
The textual representation of the DRM integration identifier. (Nullable)
-
-
-
-