public class ClearkeyApi extends Object
Modifier and Type | Field and Description |
---|---|
CustomdataApi |
customdata |
Constructor and Description |
---|
ClearkeyApi(BitmovinApiClientFactory clientFactory) |
Modifier and Type | Method and Description |
---|---|
static BitmovinApiBuilder<ClearkeyApi> |
builder()
Fluent builder for creating an instance of ClearkeyApi
|
ClearKeyDrm |
create(String encodingId,
String muxingId,
ClearKeyDrm clearKeyDrm)
Add ClearKey DRM to an fMP4 muxing
|
BitmovinResponse |
delete(String encodingId,
String muxingId,
String drmId)
Delete ClearKey DRM from an fMP4 muxing
|
ClearKeyDrm |
get(String encodingId,
String muxingId,
String drmId)
ClearKey DRM Details of an fMP4 muxing
|
PaginationResponse<ClearKeyDrm> |
list(String encodingId,
String muxingId)
List ClearKey DRMs of an fMP4 muxing
|
PaginationResponse<ClearKeyDrm> |
list(String encodingId,
String muxingId,
ClearKeyDrmListQueryParams queryParams)
List ClearKey DRMs of an fMP4 muxing
|
public final CustomdataApi customdata
public ClearkeyApi(BitmovinApiClientFactory clientFactory)
public static BitmovinApiBuilder<ClearkeyApi> builder()
public ClearKeyDrm create(String encodingId, String muxingId, ClearKeyDrm clearKeyDrm) throws BitmovinException
encodingId
- Id of the encoding. (required)muxingId
- Id of the fMP4 muxing. (required)clearKeyDrm
- The ClearKey DRM to be created (required)BitmovinException
- if fails to make API callpublic BitmovinResponse delete(String encodingId, String muxingId, String drmId) throws BitmovinException
encodingId
- Id of the encoding. (required)muxingId
- Id of the fMP4 muxing (required)drmId
- Id of the ClearKey DRM configuration. (required)BitmovinException
- if fails to make API callpublic ClearKeyDrm get(String encodingId, String muxingId, String drmId) throws BitmovinException
encodingId
- Id of the encoding. (required)muxingId
- Id of the fMP4 muxing (required)drmId
- Id of the ClearKey DRM configuration. (required)BitmovinException
- if fails to make API callpublic PaginationResponse<ClearKeyDrm> list(String encodingId, String muxingId) throws BitmovinException
encodingId
- Id of the encoding. (required)muxingId
- Id of the fMP4 muxing (required)BitmovinException
- if fails to make API callpublic PaginationResponse<ClearKeyDrm> list(String encodingId, String muxingId, ClearKeyDrmListQueryParams queryParams) throws BitmovinException
encodingId
- Id of the encoding. (required)muxingId
- Id of the fMP4 muxing (required)queryParams
- The query parameters for sorting, filtering and paging options (optional)BitmovinException
- if fails to make API callCopyright © 2020. All rights reserved.