Class VideoApi
Inheritance
System.Object
VideoApi
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.Hls.Media.Video
Assembly: Bitmovin.Api.Sdk.dll
Syntax
public class VideoApi
Constructors
VideoApi(IBitmovinApiClientFactory)
Declaration
public VideoApi(IBitmovinApiClientFactory apiClientFactory)
Parameters
Type | Name | Description |
---|---|---|
IBitmovinApiClientFactory | apiClientFactory |
Properties
Builder
Fluent builder for creating an instance of VideoApi
Declaration
public static BitmovinApiBuilder<VideoApi> Builder { get; }
Property Value
Type | Description |
---|---|
BitmovinApiBuilder<VideoApi> |
Methods
CreateAsync(String, VideoMediaInfo)
Add Video Media
Declaration
public Task<VideoMediaInfo> CreateAsync(string manifestId, VideoMediaInfo videoMediaInfo)
Parameters
Type | Name | Description |
---|---|---|
System.String | manifestId | Id of the hls manifest. (required) |
VideoMediaInfo | videoMediaInfo | The Video Media to be added |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<VideoMediaInfo> |
DeleteAsync(String, String)
Delete Video Media
Declaration
public Task<BitmovinResponse> DeleteAsync(string manifestId, string mediaId)
Parameters
Type | Name | Description |
---|---|---|
System.String | manifestId | Id of the hls manifest. (required) |
System.String | mediaId | Id of the video media. (required) |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<BitmovinResponse> |
GetAsync(String, String)
Video Media Details
Declaration
public Task<VideoMediaInfo> GetAsync(string manifestId, string mediaId)
Parameters
Type | Name | Description |
---|---|---|
System.String | manifestId | Id of the hls manifest. (required) |
System.String | mediaId | Id of the video media. (required) |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<VideoMediaInfo> |
ListAsync(String, Func<VideoApi.ListQueryParams, VideoApi.ListQueryParams>[])
List all Video Media
Declaration
public Task<PaginationResponse<VideoMediaInfo>> ListAsync(string manifestId, params Func<VideoApi.ListQueryParams, VideoApi.ListQueryParams>[] queryParams)
Parameters
Type | Name | Description |
---|---|---|
System.String | manifestId | Id of the hls manifest. (required) |
System.Func<VideoApi.ListQueryParams, VideoApi.ListQueryParams>[] | queryParams | The query parameters for sorting, filtering and paging options (optional) |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<PaginationResponse<VideoMediaInfo>> |