Class DrmApi
Inheritance
Inherited Members
Namespace: Bitmovin.Api.Sdk.Encoding.Manifests.Dash.Periods.Adaptationsets.Representations.Fmp4.Drm
Assembly: Bitmovin.Api.Sdk.dll
Syntax
public class DrmApiConstructors
DrmApi(IBitmovinApiClientFactory)
Declaration
public DrmApi(IBitmovinApiClientFactory apiClientFactory)Parameters
| Type | Name | Description | 
|---|---|---|
| IBitmovinApiClientFactory | apiClientFactory | 
Properties
Builder
Fluent builder for creating an instance of DrmApi
Declaration
public static BitmovinApiBuilder<DrmApi> Builder { get; }Property Value
| Type | Description | 
|---|---|
| BitmovinApiBuilder<DrmApi> | 
Contentprotection
Declaration
public ContentprotectionApi Contentprotection { get; }Property Value
| Type | Description | 
|---|---|
| ContentprotectionApi | 
Methods
CreateAsync(String, String, String, DashFmp4DrmRepresentation)
Add DRM fMP4 Representation
Declaration
public Task<DashFmp4DrmRepresentation> CreateAsync(string manifestId, string periodId, string adaptationsetId, DashFmp4DrmRepresentation dashFmp4DrmRepresentation)Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | manifestId | Id of the manifest (required) | 
| System.String | periodId | Id of the period (required) | 
| System.String | adaptationsetId | Id of the adaptation set (required) | 
| DashFmp4DrmRepresentation | dashFmp4DrmRepresentation | The DRM fMP4 representation to be added to the adaptation set | 
Returns
| Type | Description | 
|---|---|
| System.Threading.Tasks.Task<DashFmp4DrmRepresentation> | 
DeleteAsync(String, String, String, String)
Delete DRM fMP4 Representation
Declaration
public Task<BitmovinResponse> DeleteAsync(string manifestId, string periodId, string adaptationsetId, string representationId)Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | manifestId | Id of the manifest (required) | 
| System.String | periodId | Id of the period (required) | 
| System.String | adaptationsetId | Id of the adaptation set (required) | 
| System.String | representationId | Id of the DRM fMP4 representation to be deleted (required) | 
Returns
| Type | Description | 
|---|---|
| System.Threading.Tasks.Task<BitmovinResponse> | 
GetAsync(String, String, String, String)
DRM fMP4 Representation Details
Declaration
public Task<DashFmp4DrmRepresentation> GetAsync(string manifestId, string periodId, string adaptationsetId, string representationId)Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | manifestId | Id of the manifest (required) | 
| System.String | periodId | Id of the period (required) | 
| System.String | adaptationsetId | Id of the adaptation set (required) | 
| System.String | representationId | Id of the representation (required) | 
Returns
| Type | Description | 
|---|---|
| System.Threading.Tasks.Task<DashFmp4DrmRepresentation> | 
ListAsync(String, String, String, Func<DrmApi.ListQueryParams, DrmApi.ListQueryParams>[])
List all DRM fMP4 Representations
Declaration
public Task<PaginationResponse<DashFmp4DrmRepresentation>> ListAsync(string manifestId, string periodId, string adaptationsetId, params Func<DrmApi.ListQueryParams, DrmApi.ListQueryParams>[] queryParams)Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | manifestId | Id of the manifest (required) | 
| System.String | periodId | Id of the period (required) | 
| System.String | adaptationsetId | Id of the adaptation set (required) | 
| System.Func<DrmApi.ListQueryParams, DrmApi.ListQueryParams>[] | queryParams | The query parameters for sorting, filtering and paging options (optional) | 
Returns
| Type | Description | 
|---|---|
| System.Threading.Tasks.Task<PaginationResponse<DashFmp4DrmRepresentation>> |