Class CencApi
Inheritance
System.Object
CencApi
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Bitmovin.Api.Sdk.Encoding.Encodings.Muxings.Webm.Drm.Cenc
Assembly: Bitmovin.Api.Sdk.dll
Syntax
public class CencApi
Constructors
CencApi(IBitmovinApiClientFactory)
Declaration
public CencApi(IBitmovinApiClientFactory apiClientFactory)
Parameters
Type | Name | Description |
---|---|---|
IBitmovinApiClientFactory | apiClientFactory |
Properties
Builder
Fluent builder for creating an instance of CencApi
Declaration
public static BitmovinApiBuilder<CencApi> Builder { get; }
Property Value
Type | Description |
---|---|
BitmovinApiBuilder<CencApi> |
Customdata
Declaration
public CustomdataApi Customdata { get; }
Property Value
Type | Description |
---|---|
CustomdataApi |
Methods
CreateAsync(String, String, CencDrm)
Add CENC DRM to a WebM muxing
Declaration
public Task<CencDrm> CreateAsync(string encodingId, string muxingId, CencDrm cencDrm)
Parameters
Type | Name | Description |
---|---|---|
System.String | encodingId | Id of the encoding. (required) |
System.String | muxingId | Id of the WebM muxing. (required) |
CencDrm | cencDrm | The CencDrm to be created |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<CencDrm> |
DeleteAsync(String, String, String)
Delete CENC DRM from a WebM muxing
Declaration
public Task<BitmovinResponse> DeleteAsync(string encodingId, string muxingId, string drmId)
Parameters
Type | Name | Description |
---|---|---|
System.String | encodingId | Id of the encoding. (required) |
System.String | muxingId | Id of the WebM muxing (required) |
System.String | drmId | Id of the cenc drm. (required) |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<BitmovinResponse> |
GetAsync(String, String, String)
CENC DRM Details of a WebM muxing
Declaration
public Task<CencDrm> GetAsync(string encodingId, string muxingId, string drmId)
Parameters
Type | Name | Description |
---|---|---|
System.String | encodingId | Id of the encoding. (required) |
System.String | muxingId | Id of the WebM muxing. (required) |
System.String | drmId | Id of the cenc drm. (required) |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<CencDrm> |
ListAsync(String, String, Func<CencApi.ListQueryParams, CencApi.ListQueryParams>[])
List CENC DRMs of a WebM muxing
Declaration
public Task<PaginationResponse<CencDrm>> ListAsync(string encodingId, string muxingId, params Func<CencApi.ListQueryParams, CencApi.ListQueryParams>[] queryParams)
Parameters
Type | Name | Description |
---|---|---|
System.String | encodingId | Id of the encoding. (required) |
System.String | muxingId | Id of the WebM muxing. (required) |
System.Func<CencApi.ListQueryParams, CencApi.ListQueryParams>[] | queryParams | The query parameters for sorting, filtering and paging options (optional) |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<PaginationResponse<CencDrm>> |