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,
ContentProtection contentProtection)
Add Content Protection to AdaptationSet
|
BitmovinResponse |
delete(String manifestId,
String periodId,
String adaptationsetId,
String contentprotectionId)
Delete AdaptationSet Content Protection
|
ContentProtection |
get(String manifestId,
String periodId,
String adaptationsetId,
String contentprotectionId)
AdaptationSet Content Protection Details
|
PaginationResponse<ContentProtection> |
list(String manifestId,
String periodId,
String adaptationsetId)
List all AdaptationSet Content Protections
|
PaginationResponse<ContentProtection> |
list(String manifestId,
String periodId,
String adaptationsetId,
ContentProtectionListQueryParams queryParams)
List all AdaptationSet Content Protections
|
public ContentprotectionApi(BitmovinApiClientFactory clientFactory)
public static BitmovinApiBuilder<ContentprotectionApi> builder()
public ContentProtection create(String manifestId, String periodId, String adaptationsetId, ContentProtection contentProtection) throws BitmovinException
manifestId
- Id of the manifest (required)periodId
- Id of the period (required)adaptationsetId
- Id of the adaptation set (required)contentProtection
- The content protection to be added to the adaptation set (required)BitmovinException
- if fails to make API callpublic BitmovinResponse delete(String manifestId, String periodId, String adaptationsetId, String contentprotectionId) throws BitmovinException
manifestId
- Id of the manifest (required)periodId
- Id of the period (required)adaptationsetId
- Id of the adaptation set (required)contentprotectionId
- Id of the adaptation set content protection to be deleted (required)BitmovinException
- if fails to make API callpublic ContentProtection get(String manifestId, String periodId, String adaptationsetId, String contentprotectionId) throws BitmovinException
manifestId
- Id of the manifest (required)periodId
- Id of the period (required)adaptationsetId
- Id of the adaptation set (required)contentprotectionId
- Id of the adaptation set content protection (required)BitmovinException
- if fails to make API callpublic PaginationResponse<ContentProtection> 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<ContentProtection> list(String manifestId, String periodId, String adaptationsetId, ContentProtectionListQueryParams 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 © 2020. All rights reserved.