Class WidevineApi
Inheritance
System.Object
WidevineApi
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.Encodings.Muxings.Mp4.Drm.Widevine
Assembly: Bitmovin.Api.Sdk.dll
Syntax
public class WidevineApi
Constructors
WidevineApi(IBitmovinApiClientFactory)
Declaration
public WidevineApi(IBitmovinApiClientFactory apiClientFactory)
Parameters
Type | Name | Description |
---|---|---|
IBitmovinApiClientFactory | apiClientFactory |
Properties
Builder
Fluent builder for creating an instance of WidevineApi
Declaration
public static BitmovinApiBuilder<WidevineApi> Builder { get; }
Property Value
Type | Description |
---|---|
BitmovinApiBuilder<WidevineApi> |
Customdata
Declaration
public CustomdataApi Customdata { get; }
Property Value
Type | Description |
---|---|
CustomdataApi |
Methods
CreateAsync(String, String, WidevineDrm)
Add Widevine DRM to an MP4 muxing
Declaration
public Task<WidevineDrm> CreateAsync(string encodingId, string muxingId, WidevineDrm widevineDrm)
Parameters
Type | Name | Description |
---|---|---|
System.String | encodingId | Id of the encoding. (required) |
System.String | muxingId | Id of the MP4 muxing. (required) |
WidevineDrm | widevineDrm | The Widevine DRM to be created |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<WidevineDrm> |
DeleteAsync(String, String, String)
Delete Widevine DRM from an MP4 muxing
Declaration
public Task<BitmovinResponse> DeleteAsync(string encodingId, string muxingId, string drmId)
Parameters
Type | Name | Description |
---|---|---|
System.String | encodingId | Id of the encoding. (required) |
System.String | muxingId | Id of the MP4 muxing (required) |
System.String | drmId | Id of the widevine drm. (required) |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<BitmovinResponse> |
GetAsync(String, String, String)
Widevine DRM Details of an MP4 muxing
Declaration
public Task<WidevineDrm> GetAsync(string encodingId, string muxingId, string drmId)
Parameters
Type | Name | Description |
---|---|---|
System.String | encodingId | Id of the encoding. (required) |
System.String | muxingId | Id of the MP4 muxing. (required) |
System.String | drmId | Id of the widevine drm. (required) |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<WidevineDrm> |
ListAsync(String, String, Func<WidevineApi.ListQueryParams, WidevineApi.ListQueryParams>[])
List Widevine DRMs of an MP4 muxing
Declaration
public Task<PaginationResponse<WidevineDrm>> ListAsync(string encodingId, string muxingId, params Func<WidevineApi.ListQueryParams, WidevineApi.ListQueryParams>[] queryParams)
Parameters
Type | Name | Description |
---|---|---|
System.String | encodingId | Id of the encoding. (required) |
System.String | muxingId | Id of the mp4 fragment. (required) |
System.Func<WidevineApi.ListQueryParams, WidevineApi.ListQueryParams>[] | queryParams | The query parameters for sorting, filtering and paging options (optional) |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<PaginationResponse<WidevineDrm>> |