Show / Hide Table of Contents

Class ContentprotectionApi

Inheritance
System.Object
ContentprotectionApi
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.Manifests.Dash.Periods.Adaptationsets.Representations.Cmaf.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 CMAF 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 CMAF representation

Returns
Type Description
System.Threading.Tasks.Task<ContentProtection>

DeleteAsync(String, String, String, String, String)

Delete CMAF 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 CMAF content protection to be deleted (required)

Returns
Type Description
System.Threading.Tasks.Task<BitmovinResponse>

GetAsync(String, String, String, String, String)

CMAF 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 CMAF content protection (required)

Returns
Type Description
System.Threading.Tasks.Task<ContentProtection>

ListAsync(String, String, String, String, Func<ContentprotectionApi.ListQueryParams, ContentprotectionApi.ListQueryParams>[])

List all CMAF 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>>
Back to top Generated by DocFX