Enum DRMIntegrationId
-
- All Implemented Interfaces:
public enum DRMIntegrationIdThe identifier of a DRM integration.
-
-
Field Summary
Fields Modifier and Type Field Description public final StringintegrationId
-
Enum Constant Summary
Enum Constants Enum Constant Description TITANIUMThe Titanium DRM integration identifier, see TitaniumDRMConfiguration for more information.
VUDRMThe Vudrm DRM integration identifier, see VudrmDRMConfiguration for more information.
KEYOSThe KeyOS DRM integration identifier, see KeyOSDRMConfiguration for more information.
CONAXThe Conax DRM integration identifier, see ConaxDRMConfiguration for more information.
DRMTODAYThe DRMtoday DRM integration identifier, see DRMTodayConfiguration for more information.
IRDETOThe Irdeto DRM integration identifier, see IrdetoConfiguration for more information.
XSTREAMThe Xstream DRM integration identifier, see XstreamConfiguration for more information.
AXINOMThe Axinom DRM integration identifier, see AxinomDRMConfiguration for more information.
AZUREThe Azure DRM integration identifier, see AzureDRMConfiguration for more information.
CUSTOMThe 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 DRMIntegrationIdfrom(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 DRMIntegrationIdvalueOf(String name)Returns the enum constant of this type with the specified name. StringgetIntegrationId()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. (NonNull)
-
-
-
-