public class ObjectDetectionApi extends Object
Modifier and Type | Field and Description |
---|---|
CustomdataApi |
customdata |
ResultsApi |
results |
Constructor and Description |
---|
ObjectDetectionApi(BitmovinApiClientFactory clientFactory) |
Modifier and Type | Method and Description |
---|---|
static BitmovinApiBuilder<ObjectDetectionApi> |
builder()
Fluent builder for creating an instance of ObjectDetectionApi
|
ObjectDetectionConfiguration |
create(String encodingId,
ObjectDetectionConfiguration objectDetectionConfiguration)
Add object detection configuration to an encoding
|
BitmovinResponse |
delete(String encodingId,
String objectDetectionId)
Delete object detection configuration
|
ObjectDetectionConfiguration |
get(String encodingId,
String objectDetectionId)
Get object detection configuration details
|
PaginationResponse<ObjectDetectionConfiguration> |
list(String encodingId)
List object detection configurations of an encoding
|
PaginationResponse<ObjectDetectionConfiguration> |
list(String encodingId,
ObjectDetectionConfigurationListQueryParams queryParams)
List object detection configurations of an encoding
|
public final CustomdataApi customdata
public final ResultsApi results
public ObjectDetectionApi(BitmovinApiClientFactory clientFactory)
public static BitmovinApiBuilder<ObjectDetectionApi> builder()
public ObjectDetectionConfiguration create(String encodingId, ObjectDetectionConfiguration objectDetectionConfiguration) throws BitmovinException
encodingId
- Id of the encoding (required)objectDetectionConfiguration
- The object detection configuration to be created (required)BitmovinException
- if fails to make API callpublic BitmovinResponse delete(String encodingId, String objectDetectionId) throws BitmovinException
encodingId
- Id of the encoding (required)objectDetectionId
- Id of the object detection configuration to be deleted (required)BitmovinException
- if fails to make API callpublic ObjectDetectionConfiguration get(String encodingId, String objectDetectionId) throws BitmovinException
encodingId
- Id of the encoding (required)objectDetectionId
- Id of the object detection configuration (required)BitmovinException
- if fails to make API callpublic PaginationResponse<ObjectDetectionConfiguration> list(String encodingId) throws BitmovinException
encodingId
- Id of the encoding (required)BitmovinException
- if fails to make API callpublic PaginationResponse<ObjectDetectionConfiguration> list(String encodingId, ObjectDetectionConfigurationListQueryParams 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 © 2022. All rights reserved.