public class SubtitleApi extends Object
Constructor and Description |
---|
SubtitleApi(BitmovinApiClientFactory clientFactory) |
Modifier and Type | Method and Description |
---|---|
static BitmovinApiBuilder<SubtitleApi> |
builder()
Fluent builder for creating an instance of SubtitleApi
|
SubtitleAdaptationSet |
create(String manifestId,
String periodId,
SubtitleAdaptationSet subtitleAdaptationSet)
Add Subtitle AdaptationSet
|
BitmovinResponse |
delete(String manifestId,
String periodId,
String adaptationsetId)
Delete Subtitle AdaptationSet
|
SubtitleAdaptationSet |
get(String manifestId,
String periodId,
String adaptationsetId)
Subtitle AdaptationSet Details
|
PaginationResponse<SubtitleAdaptationSet> |
list(String manifestId,
String periodId)
List all Subtitle AdaptationSets
|
PaginationResponse<SubtitleAdaptationSet> |
list(String manifestId,
String periodId,
SubtitleAdaptationSetListQueryParams queryParams)
List all Subtitle AdaptationSets
|
public SubtitleApi(BitmovinApiClientFactory clientFactory)
public static BitmovinApiBuilder<SubtitleApi> builder()
public SubtitleAdaptationSet create(String manifestId, String periodId, SubtitleAdaptationSet subtitleAdaptationSet) throws BitmovinException
manifestId
- Id of the manifest (required)periodId
- Id of the period (required)subtitleAdaptationSet
- The subtitle adaptation set to be added to the period (required)BitmovinException
- if fails to make API callpublic BitmovinResponse delete(String manifestId, String periodId, String adaptationsetId) throws BitmovinException
manifestId
- Id of the manifest (required)periodId
- Id of the period (required)adaptationsetId
- Id of the subtitle adaptation set to be deleted (required)BitmovinException
- if fails to make API callpublic SubtitleAdaptationSet get(String manifestId, String periodId, String adaptationsetId) throws BitmovinException
manifestId
- Id of the manifest (required)periodId
- Id of the period (required)adaptationsetId
- Id of the subtitle adaptation set (required)BitmovinException
- if fails to make API callpublic PaginationResponse<SubtitleAdaptationSet> list(String manifestId, String periodId) throws BitmovinException
manifestId
- Id of the manifest (required)periodId
- Id of the period (required)BitmovinException
- if fails to make API callpublic PaginationResponse<SubtitleAdaptationSet> list(String manifestId, String periodId, SubtitleAdaptationSetListQueryParams queryParams) throws BitmovinException
manifestId
- Id of the manifest (required)periodId
- Id of the period (required)queryParams
- The query parameters for sorting, filtering and paging options (optional)BitmovinException
- if fails to make API callCopyright © 2022. All rights reserved.