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