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