FaceAPIManager Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. vision. faceapi. FaceAPIManager
- com.
public class FaceAPIManager
Entry point to Azure Cognitive Services Face API manager.
Method Summary
Modifier and Type | Method and Description |
---|---|
FaceAPI |
authenticate(AzureRegions region, ServiceClientCredentials credentials)
Initializes an instance of Face API client. |
FaceAPI |
authenticate(AzureRegions region, String subscriptionKey)
Initializes an instance of Face API client. |
FaceAPI |
authenticate(RestClient restClient)
Initializes an instance of Face API client. |
FaceAPI |
authenticate(String baseUrl, final String subscriptionKey)
Initializes an instance of Face API client. |
FaceAPI |
authenticate(String baseUrl, ServiceClientCredentials credentials)
Initializes an instance of Face API client. |
Method Details
authenticate
public static FaceAPI authenticate(AzureRegions region, ServiceClientCredentials credentials)
Initializes an instance of Face API client.
Parameters:
Returns:
authenticate
public static FaceAPI authenticate(AzureRegions region, String subscriptionKey)
Initializes an instance of Face API client.
Parameters:
Returns:
authenticate
public static FaceAPI authenticate(RestClient restClient)
Initializes an instance of Face API client.
Parameters:
Returns:
authenticate
public static FaceAPI authenticate(String baseUrl, final String subscriptionKey)
Initializes an instance of Face API client.
Parameters:
Returns:
authenticate
public static FaceAPI authenticate(String baseUrl, ServiceClientCredentials credentials)
Initializes an instance of Face API client.
Parameters:
Returns:
Applies to
Azure SDK for Java