public class DrmApi extends Object
Modifier and Type | Field and Description |
---|---|
ContentprotectionApi |
contentprotection |
Constructor and Description |
---|
DrmApi(BitmovinApiClientFactory clientFactory) |
Modifier and Type | Method and Description |
---|---|
static BitmovinApiBuilder<DrmApi> |
builder()
Fluent builder for creating an instance of DrmApi
|
DashCmafDrmRepresentation |
create(String manifestId,
String periodId,
String adaptationsetId,
DashCmafDrmRepresentation dashCmafDrmRepresentation)
Add DRM CMAF Representation
|
BitmovinResponse |
delete(String manifestId,
String periodId,
String adaptationsetId,
String representationId)
Delete DRM CMAF Representation
|
DashCmafDrmRepresentation |
get(String manifestId,
String periodId,
String adaptationsetId,
String representationId)
DRM CMAF Representation Details
|
PaginationResponse<DashCmafDrmRepresentation> |
list(String manifestId,
String periodId,
String adaptationsetId)
List all DRM CMAF Representations
|
PaginationResponse<DashCmafDrmRepresentation> |
list(String manifestId,
String periodId,
String adaptationsetId,
DashCmafDrmRepresentationListQueryParams queryParams)
List all DRM CMAF Representations
|
public final ContentprotectionApi contentprotection
public DrmApi(BitmovinApiClientFactory clientFactory)
public static BitmovinApiBuilder<DrmApi> builder()
public DashCmafDrmRepresentation create(String manifestId, String periodId, String adaptationsetId, DashCmafDrmRepresentation dashCmafDrmRepresentation) throws BitmovinException
manifestId
- Id of the manifest (required)periodId
- Id of the period (required)adaptationsetId
- Id of the adaptation set (required)dashCmafDrmRepresentation
- The DRM CMAF representation to be added to the adaptation set (optional)BitmovinException
- if fails to make API callpublic BitmovinResponse delete(String manifestId, String periodId, String adaptationsetId, String representationId) throws BitmovinException
manifestId
- Id of the manifest (required)periodId
- Id of the period (required)adaptationsetId
- Id of the adaptation set (required)representationId
- Id of the DRM CMAF representation to be deleted (required)BitmovinException
- if fails to make API callpublic DashCmafDrmRepresentation get(String manifestId, String periodId, String adaptationsetId, String representationId) throws BitmovinException
manifestId
- Id of the manifest (required)periodId
- Id of the period (required)adaptationsetId
- Id of the adaptation set (required)representationId
- Id of the representation (required)BitmovinException
- if fails to make API callpublic PaginationResponse<DashCmafDrmRepresentation> list(String manifestId, String periodId, String adaptationsetId) throws BitmovinException
manifestId
- Id of the manifest (required)periodId
- Id of the period (required)adaptationsetId
- Id of the adaptation set (required)BitmovinException
- if fails to make API callpublic PaginationResponse<DashCmafDrmRepresentation> list(String manifestId, String periodId, String adaptationsetId, DashCmafDrmRepresentationListQueryParams queryParams) throws BitmovinException
manifestId
- Id of the manifest (required)periodId
- Id of the period (required)adaptationsetId
- Id of the adaptation set (required)queryParams
- The query parameters for sorting, filtering and paging options (optional)BitmovinException
- if fails to make API callCopyright © 2019. All rights reserved.