Show / Hide Table of Contents

Class DrmApi

Inheritance
System.Object
DrmApi
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.Mp4.Drm
Assembly: Bitmovin.Api.Sdk.dll
Syntax
public class DrmApi

Constructors

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>

Methods

CreateAsync(String, String, String, DashMp4DrmRepresentation)

Add DRM MP4 Representation

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

DashMp4DrmRepresentation dashMp4DrmRepresentation

The DRM MP4 representation to be added to the adaptation set

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

DeleteAsync(String, String, String, String)

Delete DRM MP4 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 MP4 representation to be deleted (required)

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

GetAsync(String, String, String, String)

DRM MP4 Representation Details

Declaration
public Task<DashMp4DrmRepresentation> 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<DashMp4DrmRepresentation>

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

List all DRM MP4 Representations

Declaration
public Task<PaginationResponse<DashMp4DrmRepresentation>> 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<DashMp4DrmRepresentation>>
Back to top Generated by DocFX