public class TtmlApi extends Object
Modifier and Type | Field and Description |
---|---|
CustomdataApi |
customdata |
Constructor and Description |
---|
TtmlApi(BitmovinApiClientFactory clientFactory) |
Modifier and Type | Method and Description |
---|---|
static BitmovinApiBuilder<TtmlApi> |
builder()
Fluent builder for creating an instance of TtmlApi
|
TtmlExtract |
create(String encodingId,
TtmlExtract ttmlExtract)
Extract TTML Captions
|
TtmlExtract |
delete(String encodingId,
String captionsId)
Delete TTML Extract Captions
|
TtmlExtract |
get(String encodingId,
String captionsId)
TTML Extract Captions Details
|
PaginationResponse<TtmlExtract> |
list(String encodingId)
List TTML Extract Captions
|
PaginationResponse<TtmlExtract> |
list(String encodingId,
TtmlExtractListQueryParams queryParams)
List TTML Extract Captions
|
public final CustomdataApi customdata
public TtmlApi(BitmovinApiClientFactory clientFactory)
public static BitmovinApiBuilder<TtmlApi> builder()
public TtmlExtract create(String encodingId, TtmlExtract ttmlExtract) throws BitmovinException
encodingId
- Id of the encoding. (required)ttmlExtract
- The TTML extract captions to be created (optional)BitmovinException
- if fails to make API callpublic TtmlExtract delete(String encodingId, String captionsId) throws BitmovinException
encodingId
- Id of the encoding. (required)captionsId
- Id of the captions configuration. (required)BitmovinException
- if fails to make API callpublic TtmlExtract get(String encodingId, String captionsId) throws BitmovinException
encodingId
- Id of the encoding. (required)captionsId
- Id of the captions. (required)BitmovinException
- if fails to make API callpublic PaginationResponse<TtmlExtract> list(String encodingId) throws BitmovinException
encodingId
- Id of the encoding. (required)BitmovinException
- if fails to make API callpublic PaginationResponse<TtmlExtract> list(String encodingId, TtmlExtractListQueryParams queryParams) throws BitmovinException
encodingId
- Id of the encoding. (required)queryParams
- The query parameters for sorting, filtering and paging options (optional)BitmovinException
- if fails to make API callCopyright © 2019. All rights reserved.