Class TimeBasedApi
Inheritance
System.Object
TimeBasedApi
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.InputStreams.Trimming.TimeBased
Assembly: Bitmovin.Api.Sdk.dll
Syntax
public class TimeBasedApi
Constructors
TimeBasedApi(IBitmovinApiClientFactory)
Declaration
public TimeBasedApi(IBitmovinApiClientFactory apiClientFactory)
Parameters
Type | Name | Description |
---|---|---|
IBitmovinApiClientFactory | apiClientFactory |
Properties
Builder
Fluent builder for creating an instance of TimeBasedApi
Declaration
public static BitmovinApiBuilder<TimeBasedApi> Builder { get; }
Property Value
Type | Description |
---|---|
BitmovinApiBuilder<TimeBasedApi> |
Methods
CreateAsync(String, TimeBasedTrimmingInputStream)
Add Time-Based Trimming Input Stream
Declaration
public Task<TimeBasedTrimmingInputStream> CreateAsync(string encodingId, TimeBasedTrimmingInputStream timeBasedTrimmingInputStream)
Parameters
Type | Name | Description |
---|---|---|
System.String | encodingId | Id of the encoding. (required) |
TimeBasedTrimmingInputStream | timeBasedTrimmingInputStream | The Time-Based Trimming Input Stream to be created |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<TimeBasedTrimmingInputStream> |
DeleteAsync(String, String)
Delete Time-Based Trimming Input Stream
Declaration
public Task<BitmovinResponse> DeleteAsync(string encodingId, string inputStreamId)
Parameters
Type | Name | Description |
---|---|---|
System.String | encodingId | Id of the encoding. (required) |
System.String | inputStreamId | Id of the Time-Based Trimming Input Stream. (required) |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<BitmovinResponse> |
GetAsync(String, String)
Time-Based Trimming Input Stream Details
Declaration
public Task<TimeBasedTrimmingInputStream> GetAsync(string encodingId, string inputStreamId)
Parameters
Type | Name | Description |
---|---|---|
System.String | encodingId | Id of the encoding. (required) |
System.String | inputStreamId | Id of the Time-Based Trimming Input Stream. (required) |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<TimeBasedTrimmingInputStream> |
ListAsync(String, Func<TimeBasedApi.ListQueryParams, TimeBasedApi.ListQueryParams>[])
List Time-Based Trimming Input Streams
Declaration
public Task<PaginationResponse<TimeBasedTrimmingInputStream>> ListAsync(string encodingId, params Func<TimeBasedApi.ListQueryParams, TimeBasedApi.ListQueryParams>[] queryParams)
Parameters
Type | Name | Description |
---|---|---|
System.String | encodingId | Id of the encoding. (required) |
System.Func<TimeBasedApi.ListQueryParams, TimeBasedApi.ListQueryParams>[] | queryParams | The query parameters for sorting, filtering and paging options (optional) |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<PaginationResponse<TimeBasedTrimmingInputStream>> |