public class ContentprotectionApi extends Object
Constructor and Description |
---|
ContentprotectionApi(BitmovinApiClientFactory clientFactory) |
Modifier and Type | Method and Description |
---|---|
static BitmovinApiBuilder<ContentprotectionApi> |
builder()
Fluent builder for creating an instance of ContentprotectionApi
|
ContentProtection |
create(String manifestId,
String periodId,
String adaptationsetId,
String representationId,
ContentProtection contentProtection)
Add Content Protection to WebM Representation
|
BitmovinResponse |
delete(String manifestId,
String periodId,
String adaptationsetId,
String representationId,
String contentprotectionId)
Delete WebM Representation Content Protection
|
ContentProtection |
get(String manifestId,
String periodId,
String adaptationsetId,
String representationId,
String contentprotectionId)
WebM Representation Content Protection Details
|
PaginationResponse<ContentProtection> |
list(String manifestId,
String periodId,
String adaptationsetId,
String representationId)
List all WebM Representation Content Protections
|
PaginationResponse<ContentProtection> |
list(String manifestId,
String periodId,
String adaptationsetId,
String representationId,
ContentProtectionListQueryParams queryParams)
List all WebM Representation Content Protections
|
public ContentprotectionApi(BitmovinApiClientFactory clientFactory)
public static BitmovinApiBuilder<ContentprotectionApi> builder()
public ContentProtection create(String manifestId, String periodId, String adaptationsetId, String representationId, ContentProtection contentProtection) 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)contentProtection
- The content protection to be added to the WebM representation (required)BitmovinException
- if fails to make API callpublic BitmovinResponse delete(String manifestId, String periodId, String adaptationsetId, String representationId, String contentprotectionId) 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)contentprotectionId
- Id of the DRM WebM content protection to be deleted (required)BitmovinException
- if fails to make API callpublic ContentProtection get(String manifestId, String periodId, String adaptationsetId, String representationId, String contentprotectionId) 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)contentprotectionId
- Id of the DRM WebM content protection (required)BitmovinException
- if fails to make API callpublic PaginationResponse<ContentProtection> list(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<ContentProtection> list(String manifestId, String periodId, String adaptationsetId, String representationId, ContentProtectionListQueryParams queryParams) 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)queryParams
- The query parameters for sorting, filtering and paging options (optional)BitmovinException
- if fails to make API callCopyright © 2024. All rights reserved.