Class ContentprotectionApi
Inheritance
Inherited Members
Namespace: Bitmovin.Api.Sdk.Encoding.Manifests.Dash.Periods.Adaptationsets.Representations.Webm.Contentprotection
Assembly: Bitmovin.Api.Sdk.dll
Syntax
public class ContentprotectionApi
Constructors
ContentprotectionApi(IBitmovinApiClientFactory)
Declaration
public ContentprotectionApi(IBitmovinApiClientFactory apiClientFactory)
Parameters
Type | Name | Description |
---|---|---|
IBitmovinApiClientFactory | apiClientFactory |
Properties
Builder
Fluent builder for creating an instance of ContentprotectionApi
Declaration
public static BitmovinApiBuilder<ContentprotectionApi> Builder { get; }
Property Value
Type | Description |
---|---|
BitmovinApiBuilder<ContentprotectionApi> |
Methods
CreateAsync(String, String, String, String, ContentProtection)
Add Content Protection to WebM Representation
Declaration
public Task<ContentProtection> CreateAsync(string manifestId, string periodId, string adaptationsetId, string representationId, ContentProtection contentProtection)
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) |
ContentProtection | contentProtection | The content protection to be added to the WebM representation |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<ContentProtection> |
DeleteAsync(String, String, String, String, String)
Delete WebM Representation Content Protection
Declaration
public Task<BitmovinResponse> DeleteAsync(string manifestId, string periodId, string adaptationsetId, string representationId, string contentprotectionId)
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) |
System.String | contentprotectionId | Id of the DRM WebM content protection to be deleted (required) |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<BitmovinResponse> |
GetAsync(String, String, String, String, String)
WebM Representation Content Protection Details
Declaration
public Task<ContentProtection> GetAsync(string manifestId, string periodId, string adaptationsetId, string representationId, string contentprotectionId)
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) |
System.String | contentprotectionId | Id of the DRM WebM content protection (required) |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<ContentProtection> |
ListAsync(String, String, String, String, Func<ContentprotectionApi.ListQueryParams, ContentprotectionApi.ListQueryParams>[])
List all WebM Representation Content Protections
Declaration
public Task<PaginationResponse<ContentProtection>> ListAsync(string manifestId, string periodId, string adaptationsetId, string representationId, params Func<ContentprotectionApi.ListQueryParams, ContentprotectionApi.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.String | representationId | Id of the representation (required) |
System.Func<ContentprotectionApi.ListQueryParams, ContentprotectionApi.ListQueryParams>[] | queryParams | The query parameters for sorting, filtering and paging options (optional) |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<PaginationResponse<ContentProtection>> |