public interface FaceLists
| Modifier and Type | Interface and Description |
|---|---|
static interface |
FaceLists.FaceListsAddFaceFromStreamDefinition
The entirety of addFaceFromStream definition.
|
static interface |
FaceLists.FaceListsAddFaceFromStreamDefinitionStages
Grouping of addFaceFromStream definition stages.
|
static interface |
FaceLists.FaceListsAddFaceFromUrlDefinition
The entirety of addFaceFromUrl definition.
|
static interface |
FaceLists.FaceListsAddFaceFromUrlDefinitionStages
Grouping of addFaceFromUrl definition stages.
|
static interface |
FaceLists.FaceListsCreateDefinition
The entirety of create definition.
|
static interface |
FaceLists.FaceListsCreateDefinitionStages
Grouping of create definition stages.
|
static interface |
FaceLists.FaceListsUpdateDefinition
The entirety of update definition.
|
static interface |
FaceLists.FaceListsUpdateDefinitionStages
Grouping of update definition stages.
|
| Modifier and Type | Method and Description |
|---|---|
FaceLists.FaceListsAddFaceFromStreamDefinitionStages.WithFaceListId |
addFaceFromStream()
Add a face to a face list.
|
PersistedFace |
addFaceFromStream(String faceListId,
byte[] image,
AddFaceFromStreamOptionalParameter addFaceFromStreamOptionalParameter)
Add a face to a face list.
|
rx.Observable<PersistedFace> |
addFaceFromStreamAsync(String faceListId,
byte[] image,
AddFaceFromStreamOptionalParameter addFaceFromStreamOptionalParameter)
Add a face to a face list.
|
FaceLists.FaceListsAddFaceFromUrlDefinitionStages.WithFaceListId |
addFaceFromUrl()
Add a face to a face list.
|
PersistedFace |
addFaceFromUrl(String faceListId,
String url,
AddFaceFromUrlOptionalParameter addFaceFromUrlOptionalParameter)
Add a face to a face list.
|
rx.Observable<PersistedFace> |
addFaceFromUrlAsync(String faceListId,
String url,
AddFaceFromUrlOptionalParameter addFaceFromUrlOptionalParameter)
Add a face to a face list.
|
FaceLists.FaceListsCreateDefinitionStages.WithFaceListId |
create()
Create an empty face list.
|
void |
create(String faceListId,
CreateFaceListsOptionalParameter createOptionalParameter)
Create an empty face list.
|
rx.Observable<Void> |
createAsync(String faceListId,
CreateFaceListsOptionalParameter createOptionalParameter)
Create an empty face list.
|
void |
delete(String faceListId)
Delete an existing face list according to faceListId.
|
rx.Observable<Void> |
deleteAsync(String faceListId)
Delete an existing face list according to faceListId.
|
void |
deleteFace(String faceListId,
UUID persistedFaceId)
Delete an existing face from a face list (given by a persisitedFaceId and a faceListId).
|
rx.Observable<Void> |
deleteFaceAsync(String faceListId,
UUID persistedFaceId)
Delete an existing face from a face list (given by a persisitedFaceId and a faceListId).
|
FaceList |
get(String faceListId)
Retrieve a face list's information.
|
rx.Observable<FaceList> |
getAsync(String faceListId)
Retrieve a face list's information.
|
List<FaceList> |
list()
Retrieve information about all existing face lists.
|
rx.Observable<List<FaceList>> |
listAsync()
Retrieve information about all existing face lists.
|
FaceLists.FaceListsUpdateDefinitionStages.WithFaceListId |
update()
Update information of a face list.
|
void |
update(String faceListId,
UpdateFaceListsOptionalParameter updateOptionalParameter)
Update information of a face list.
|
rx.Observable<Void> |
updateAsync(String faceListId,
UpdateFaceListsOptionalParameter updateOptionalParameter)
Update information of a face list.
|
void create(String faceListId, CreateFaceListsOptionalParameter createOptionalParameter)
faceListId - Id referencing a particular face list.createOptionalParameter - the object representing the optional parameters to be set before calling this APIIllegalArgumentException - thrown if parameters fail the validationAPIErrorException - thrown if the request is rejected by serverRuntimeException - all other wrapped checked exceptions if the request fails to be sentrx.Observable<Void> createAsync(String faceListId, CreateFaceListsOptionalParameter createOptionalParameter)
faceListId - Id referencing a particular face list.createOptionalParameter - the object representing the optional parameters to be set before calling this APIIllegalArgumentException - thrown if parameters fail the validationFaceLists.FaceListsCreateDefinitionStages.WithFaceListId create()
FaceList get(String faceListId)
faceListId - Id referencing a particular face list.IllegalArgumentException - thrown if parameters fail the validationAPIErrorException - thrown if the request is rejected by serverRuntimeException - all other wrapped checked exceptions if the request fails to be sentrx.Observable<FaceList> getAsync(String faceListId)
faceListId - Id referencing a particular face list.IllegalArgumentException - thrown if parameters fail the validationvoid update(String faceListId, UpdateFaceListsOptionalParameter updateOptionalParameter)
faceListId - Id referencing a particular face list.updateOptionalParameter - the object representing the optional parameters to be set before calling this APIIllegalArgumentException - thrown if parameters fail the validationAPIErrorException - thrown if the request is rejected by serverRuntimeException - all other wrapped checked exceptions if the request fails to be sentrx.Observable<Void> updateAsync(String faceListId, UpdateFaceListsOptionalParameter updateOptionalParameter)
faceListId - Id referencing a particular face list.updateOptionalParameter - the object representing the optional parameters to be set before calling this APIIllegalArgumentException - thrown if parameters fail the validationFaceLists.FaceListsUpdateDefinitionStages.WithFaceListId update()
void delete(String faceListId)
faceListId - Id referencing a particular face list.IllegalArgumentException - thrown if parameters fail the validationAPIErrorException - thrown if the request is rejected by serverRuntimeException - all other wrapped checked exceptions if the request fails to be sentrx.Observable<Void> deleteAsync(String faceListId)
faceListId - Id referencing a particular face list.IllegalArgumentException - thrown if parameters fail the validationList<FaceList> list()
IllegalArgumentException - thrown if parameters fail the validationAPIErrorException - thrown if the request is rejected by serverRuntimeException - all other wrapped checked exceptions if the request fails to be sentrx.Observable<List<FaceList>> listAsync()
IllegalArgumentException - thrown if parameters fail the validationvoid deleteFace(String faceListId, UUID persistedFaceId)
faceListId - Id referencing a particular face list.persistedFaceId - Id referencing a particular persistedFaceId of an existing face.IllegalArgumentException - thrown if parameters fail the validationAPIErrorException - thrown if the request is rejected by serverRuntimeException - all other wrapped checked exceptions if the request fails to be sentrx.Observable<Void> deleteFaceAsync(String faceListId, UUID persistedFaceId)
faceListId - Id referencing a particular face list.persistedFaceId - Id referencing a particular persistedFaceId of an existing face.IllegalArgumentException - thrown if parameters fail the validationPersistedFace addFaceFromUrl(String faceListId, String url, AddFaceFromUrlOptionalParameter addFaceFromUrlOptionalParameter)
faceListId - Id referencing a particular face list.url - Publicly reachable URL of an image.addFaceFromUrlOptionalParameter - the object representing the optional parameters to be set before calling this APIIllegalArgumentException - thrown if parameters fail the validationAPIErrorException - thrown if the request is rejected by serverRuntimeException - all other wrapped checked exceptions if the request fails to be sentrx.Observable<PersistedFace> addFaceFromUrlAsync(String faceListId, String url, AddFaceFromUrlOptionalParameter addFaceFromUrlOptionalParameter)
faceListId - Id referencing a particular face list.url - Publicly reachable URL of an image.addFaceFromUrlOptionalParameter - the object representing the optional parameters to be set before calling this APIIllegalArgumentException - thrown if parameters fail the validationFaceLists.FaceListsAddFaceFromUrlDefinitionStages.WithFaceListId addFaceFromUrl()
PersistedFace addFaceFromStream(String faceListId, byte[] image, AddFaceFromStreamOptionalParameter addFaceFromStreamOptionalParameter)
faceListId - Id referencing a particular face list.image - An image stream.addFaceFromStreamOptionalParameter - the object representing the optional parameters to be set before calling this APIIllegalArgumentException - thrown if parameters fail the validationAPIErrorException - thrown if the request is rejected by serverRuntimeException - all other wrapped checked exceptions if the request fails to be sentrx.Observable<PersistedFace> addFaceFromStreamAsync(String faceListId, byte[] image, AddFaceFromStreamOptionalParameter addFaceFromStreamOptionalParameter)
faceListId - Id referencing a particular face list.image - An image stream.addFaceFromStreamOptionalParameter - the object representing the optional parameters to be set before calling this APIIllegalArgumentException - thrown if parameters fail the validationFaceLists.FaceListsAddFaceFromStreamDefinitionStages.WithFaceListId addFaceFromStream()
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/