Class ContentprotectionApi
Inheritance
System.Object
ContentprotectionApi
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.Smooth.Contentprotection
Assembly: Bitmovin.Api.Sdk.dll
Syntax
public class ContentprotectionApi
Constructors
ContentprotectionApi(IBitmovinApiClientFactory)
Declaration
public ContentprotectionApi(IBitmovinApiClientFactory apiClientFactory)
Parameters
Type | Name | Description |
---|---|---|
IBitmovinApiClientFactory | apiClientFactory |
Properties
Builder
Fluent builder for creating an instance of ContentprotectionApi
Declaration
public static BitmovinApiBuilder<ContentprotectionApi> Builder { get; }
Property Value
Type | Description |
---|---|
BitmovinApiBuilder<ContentprotectionApi> |
Methods
CreateAsync(String, SmoothManifestContentProtection)
Add Content Protection to Smooth Streaming
Declaration
public Task<SmoothManifestContentProtection> CreateAsync(string manifestId, SmoothManifestContentProtection smoothManifestContentProtection)
Parameters
Type | Name | Description |
---|---|---|
System.String | manifestId | Id of the Smooth Streaming manifest. (required) |
SmoothManifestContentProtection | smoothManifestContentProtection | The Content Protection to be added |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<SmoothManifestContentProtection> |
DeleteAsync(String, String)
Delete Content Protection of Smooth Streaming
Declaration
public Task<BitmovinResponse> DeleteAsync(string manifestId, string protectionId)
Parameters
Type | Name | Description |
---|---|---|
System.String | manifestId | Id of the Smooth Streaming manifest. (required) |
System.String | protectionId | Id of the content protection. (required) |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<BitmovinResponse> |
GetAsync(String, String)
Content Protection of Smooth Streaming Representation Details
Declaration
public Task<SmoothManifestContentProtection> GetAsync(string manifestId, string protectionId)
Parameters
Type | Name | Description |
---|---|---|
System.String | manifestId | Id of the Smooth Streaming manifest. (required) |
System.String | protectionId | Id of the content protection. (required) |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<SmoothManifestContentProtection> |
ListAsync(String, Func<ContentprotectionApi.ListQueryParams, ContentprotectionApi.ListQueryParams>[])
List Content Protection of Smooth Streaming
Declaration
public Task<PaginationResponse<SmoothManifestContentProtection>> ListAsync(string manifestId, params Func<ContentprotectionApi.ListQueryParams, ContentprotectionApi.ListQueryParams>[] queryParams)
Parameters
Type | Name | Description |
---|---|---|
System.String | manifestId | Id of the Smooth Streaming manifest. (required) |
System.Func<ContentprotectionApi.ListQueryParams, ContentprotectionApi.ListQueryParams>[] | queryParams | The query parameters for sorting, filtering and paging options (optional) |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<PaginationResponse<SmoothManifestContentProtection>> |