你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
CustomVisionPredictionManager Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. vision. customvision. prediction. CustomVisionPredictionManager
- com.
public class CustomVisionPredictionManager
Entry point to Azure Cognitive Services Custom Vision Prediction manager.
Method Summary
Modifier and Type | Method and Description |
---|---|
Custom |
authenticate(RestClient restClient, final String apiKey)
Initializes an instance of Custom Vision Prediction API client. |
Custom |
authenticate(ServiceClientCredentials credentials, final String apiKey)
Initializes an instance of Custom Vision Prediction API client. |
Custom |
authenticate(String apiKey)
Initializes an instance of Custom Vision Prediction API client. |
Custom |
authenticate(String baseUrl, final String apiKey)
Initializes an instance of Custom Vision Prediction API client. |
Custom |
authenticate(String baseUrl, ServiceClientCredentials credentials, final String apiKey)
Initializes an instance of Custom Vision Prediction API client. |
Method Details
authenticate
public static CustomVisionPredictionClient authenticate(RestClient restClient, final String apiKey)
Initializes an instance of Custom Vision Prediction API client.
Parameters:
Returns:
authenticate
public static CustomVisionPredictionClient authenticate(ServiceClientCredentials credentials, final String apiKey)
Initializes an instance of Custom Vision Prediction API client.
Parameters:
Returns:
authenticate
public static CustomVisionPredictionClient authenticate(String apiKey)
Initializes an instance of Custom Vision Prediction API client.
Parameters:
Returns:
authenticate
public static CustomVisionPredictionClient authenticate(String baseUrl, final String apiKey)
Initializes an instance of Custom Vision Prediction API client.
Parameters:
Returns:
authenticate
public static CustomVisionPredictionClient authenticate(String baseUrl, ServiceClientCredentials credentials, final String apiKey)
Initializes an instance of Custom Vision Prediction API client.
Parameters:
Returns: