public class WebmApi extends Object
Modifier and Type | Field and Description |
---|---|
ContentprotectionApi |
contentprotection |
Constructor and Description |
---|
WebmApi(BitmovinApiClientFactory clientFactory) |
Modifier and Type | Method and Description |
---|---|
static BitmovinApiBuilder<WebmApi> |
builder()
Fluent builder for creating an instance of WebmApi
|
DashWebmRepresentation |
create(String manifestId,
String periodId,
String adaptationsetId,
DashWebmRepresentation dashWebmRepresentation)
Add WebM Representation
|
BitmovinResponse |
delete(String manifestId,
String periodId,
String adaptationsetId,
String representationId)
Delete WebM Representation
|
DashWebmRepresentation |
get(String manifestId,
String periodId,
String adaptationsetId,
String representationId)
WebM Representation Details
|
PaginationResponse<DashWebmRepresentation> |
list(String manifestId,
String periodId,
String adaptationsetId)
List all WebM Representations
|
PaginationResponse<DashWebmRepresentation> |
list(String manifestId,
String periodId,
String adaptationsetId,
DashWebmRepresentationListQueryParams queryParams)
List all WebM Representations
|
public final ContentprotectionApi contentprotection
public WebmApi(BitmovinApiClientFactory clientFactory)
public static BitmovinApiBuilder<WebmApi> builder()
public DashWebmRepresentation create(String manifestId, String periodId, String adaptationsetId, DashWebmRepresentation dashWebmRepresentation) throws BitmovinException
manifestId
- Id of the manifest (required)periodId
- Id of the period (required)adaptationsetId
- Id of the adaptation set (required)dashWebmRepresentation
- The WebM 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 WebM representation to be deleted (required)BitmovinException
- if fails to make API callpublic DashWebmRepresentation 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<DashWebmRepresentation> 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<DashWebmRepresentation> list(String manifestId, String periodId, String adaptationsetId, DashWebmRepresentationListQueryParams 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.