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.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, ContentProtection)

Add Content Protection to AdaptationSet

Declaration
public Task<ContentProtection> CreateAsync(string manifestId, string periodId, string adaptationsetId, 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)

ContentProtection contentProtection

The content protection to be added to the adaptation set

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

DeleteAsync(String, String, String, String)

Delete AdaptationSet Content Protection

Declaration
public Task<BitmovinResponse> DeleteAsync(string manifestId, string periodId, string adaptationsetId, 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 contentprotectionId

Id of the adaptation set content protection to be deleted (required)

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

GetAsync(String, String, String, String)

AdaptationSet Content Protection Details

Declaration
public Task<ContentProtection> GetAsync(string manifestId, string periodId, string adaptationsetId, 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 contentprotectionId

Id of the adaptation set content protection (required)

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

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

List all AdaptationSet Content Protections

Declaration
public Task<PaginationResponse<ContentProtection>> ListAsync(string manifestId, string periodId, string adaptationsetId, 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.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