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