public interface PersonGroupPersons
| Modifier and Type | Interface and Description |
|---|---|
static interface |
PersonGroupPersons.PersonGroupPersonsAddPersonFaceFromStreamDefinition
The entirety of addPersonFaceFromStream definition.
|
static interface |
PersonGroupPersons.PersonGroupPersonsAddPersonFaceFromStreamDefinitionStages
Grouping of addPersonFaceFromStream definition stages.
|
static interface |
PersonGroupPersons.PersonGroupPersonsAddPersonFaceFromUrlDefinition
The entirety of addPersonFaceFromUrl definition.
|
static interface |
PersonGroupPersons.PersonGroupPersonsAddPersonFaceFromUrlDefinitionStages
Grouping of addPersonFaceFromUrl definition stages.
|
static interface |
PersonGroupPersons.PersonGroupPersonsCreateDefinition
The entirety of create definition.
|
static interface |
PersonGroupPersons.PersonGroupPersonsCreateDefinitionStages
Grouping of create definition stages.
|
static interface |
PersonGroupPersons.PersonGroupPersonsListDefinition
The entirety of list definition.
|
static interface |
PersonGroupPersons.PersonGroupPersonsListDefinitionStages
Grouping of list definition stages.
|
static interface |
PersonGroupPersons.PersonGroupPersonsUpdateDefinition
The entirety of update definition.
|
static interface |
PersonGroupPersons.PersonGroupPersonsUpdateDefinitionStages
Grouping of update definition stages.
|
static interface |
PersonGroupPersons.PersonGroupPersonsUpdateFaceDefinition
The entirety of updateFace definition.
|
static interface |
PersonGroupPersons.PersonGroupPersonsUpdateFaceDefinitionStages
Grouping of updateFace definition stages.
|
| Modifier and Type | Method and Description |
|---|---|
PersonGroupPersons.PersonGroupPersonsAddPersonFaceFromStreamDefinitionStages.WithPersonGroupId |
addPersonFaceFromStream()
Add a representative face to a person for identification.
|
PersistedFace |
addPersonFaceFromStream(String personGroupId,
UUID personId,
byte[] image,
AddPersonFaceFromStreamOptionalParameter addPersonFaceFromStreamOptionalParameter)
Add a representative face to a person for identification.
|
rx.Observable<PersistedFace> |
addPersonFaceFromStreamAsync(String personGroupId,
UUID personId,
byte[] image,
AddPersonFaceFromStreamOptionalParameter addPersonFaceFromStreamOptionalParameter)
Add a representative face to a person for identification.
|
PersonGroupPersons.PersonGroupPersonsAddPersonFaceFromUrlDefinitionStages.WithPersonGroupId |
addPersonFaceFromUrl()
Add a representative face to a person for identification.
|
PersistedFace |
addPersonFaceFromUrl(String personGroupId,
UUID personId,
String url,
AddPersonFaceFromUrlOptionalParameter addPersonFaceFromUrlOptionalParameter)
Add a representative face to a person for identification.
|
rx.Observable<PersistedFace> |
addPersonFaceFromUrlAsync(String personGroupId,
UUID personId,
String url,
AddPersonFaceFromUrlOptionalParameter addPersonFaceFromUrlOptionalParameter)
Add a representative face to a person for identification.
|
PersonGroupPersons.PersonGroupPersonsCreateDefinitionStages.WithPersonGroupId |
create()
Create a new person in a specified person group.
|
Person |
create(String personGroupId,
CreatePersonGroupPersonsOptionalParameter createOptionalParameter)
Create a new person in a specified person group.
|
rx.Observable<Person> |
createAsync(String personGroupId,
CreatePersonGroupPersonsOptionalParameter createOptionalParameter)
Create a new person in a specified person group.
|
void |
delete(String personGroupId,
UUID personId)
Delete an existing person from a person group.
|
rx.Observable<Void> |
deleteAsync(String personGroupId,
UUID personId)
Delete an existing person from a person group.
|
void |
deleteFace(String personGroupId,
UUID personId,
UUID persistedFaceId)
Delete a face from a person.
|
rx.Observable<Void> |
deleteFaceAsync(String personGroupId,
UUID personId,
UUID persistedFaceId)
Delete a face from a person.
|
Person |
get(String personGroupId,
UUID personId)
Retrieve a person's information, including registered persisted faces, name and userData.
|
rx.Observable<Person> |
getAsync(String personGroupId,
UUID personId)
Retrieve a person's information, including registered persisted faces, name and userData.
|
PersistedFace |
getFace(String personGroupId,
UUID personId,
UUID persistedFaceId)
Retrieve information about a persisted face (specified by persistedFaceId, personId and its
belonging personGroupId).
|
rx.Observable<PersistedFace> |
getFaceAsync(String personGroupId,
UUID personId,
UUID persistedFaceId)
Retrieve information about a persisted face (specified by persistedFaceId, personId and its
belonging personGroupId).
|
PersonGroupPersons.PersonGroupPersonsListDefinitionStages.WithPersonGroupId |
list()
List all persons in a person group, and retrieve person information (including personId, name, userData and
persistedFaceIds of registered faces of the person).
|
List<Person> |
list(String personGroupId,
ListPersonGroupPersonsOptionalParameter listOptionalParameter)
List all persons in a person group, and retrieve person information (including personId, name, userData and
persistedFaceIds of registered faces of the person).
|
rx.Observable<List<Person>> |
listAsync(String personGroupId,
ListPersonGroupPersonsOptionalParameter listOptionalParameter)
List all persons in a person group, and retrieve person information (including personId, name, userData and
persistedFaceIds of registered faces of the person).
|
PersonGroupPersons.PersonGroupPersonsUpdateDefinitionStages.WithPersonGroupId |
update()
Update name or userData of a person.
|
void |
update(String personGroupId,
UUID personId,
UpdatePersonGroupPersonsOptionalParameter updateOptionalParameter)
Update name or userData of a person.
|
rx.Observable<Void> |
updateAsync(String personGroupId,
UUID personId,
UpdatePersonGroupPersonsOptionalParameter updateOptionalParameter)
Update name or userData of a person.
|
PersonGroupPersons.PersonGroupPersonsUpdateFaceDefinitionStages.WithPersonGroupId |
updateFace()
Update a person persisted face's userData field.
|
void |
updateFace(String personGroupId,
UUID personId,
UUID persistedFaceId,
UpdateFaceOptionalParameter updateFaceOptionalParameter)
Update a person persisted face's userData field.
|
rx.Observable<Void> |
updateFaceAsync(String personGroupId,
UUID personId,
UUID persistedFaceId,
UpdateFaceOptionalParameter updateFaceOptionalParameter)
Update a person persisted face's userData field.
|
Person create(String personGroupId, CreatePersonGroupPersonsOptionalParameter createOptionalParameter)
personGroupId - Id referencing a particular person group.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<Person> createAsync(String personGroupId, CreatePersonGroupPersonsOptionalParameter createOptionalParameter)
personGroupId - Id referencing a particular person group.createOptionalParameter - the object representing the optional parameters to be set before calling this APIIllegalArgumentException - thrown if parameters fail the validationPersonGroupPersons.PersonGroupPersonsCreateDefinitionStages.WithPersonGroupId create()
List<Person> list(String personGroupId, ListPersonGroupPersonsOptionalParameter listOptionalParameter)
personGroupId - Id referencing a particular person group.listOptionalParameter - 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<List<Person>> listAsync(String personGroupId, ListPersonGroupPersonsOptionalParameter listOptionalParameter)
personGroupId - Id referencing a particular person group.listOptionalParameter - the object representing the optional parameters to be set before calling this APIIllegalArgumentException - thrown if parameters fail the validationPersonGroupPersons.PersonGroupPersonsListDefinitionStages.WithPersonGroupId list()
void delete(String personGroupId, UUID personId)
personGroupId - Id referencing a particular person group.personId - Id referencing a particular person.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 personGroupId, UUID personId)
personGroupId - Id referencing a particular person group.personId - Id referencing a particular person.IllegalArgumentException - thrown if parameters fail the validationPerson get(String personGroupId, UUID personId)
personGroupId - Id referencing a particular person group.personId - Id referencing a particular person.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<Person> getAsync(String personGroupId, UUID personId)
personGroupId - Id referencing a particular person group.personId - Id referencing a particular person.IllegalArgumentException - thrown if parameters fail the validationvoid update(String personGroupId, UUID personId, UpdatePersonGroupPersonsOptionalParameter updateOptionalParameter)
personGroupId - Id referencing a particular person group.personId - Id referencing a particular person.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 personGroupId, UUID personId, UpdatePersonGroupPersonsOptionalParameter updateOptionalParameter)
personGroupId - Id referencing a particular person group.personId - Id referencing a particular person.updateOptionalParameter - the object representing the optional parameters to be set before calling this APIIllegalArgumentException - thrown if parameters fail the validationPersonGroupPersons.PersonGroupPersonsUpdateDefinitionStages.WithPersonGroupId update()
void deleteFace(String personGroupId, UUID personId, UUID persistedFaceId)
personGroupId - Id referencing a particular person group.personId - Id referencing a particular person.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 personGroupId, UUID personId, UUID persistedFaceId)
personGroupId - Id referencing a particular person group.personId - Id referencing a particular person.persistedFaceId - Id referencing a particular persistedFaceId of an existing face.IllegalArgumentException - thrown if parameters fail the validationPersistedFace getFace(String personGroupId, UUID personId, UUID persistedFaceId)
personGroupId - Id referencing a particular person group.personId - Id referencing a particular person.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<PersistedFace> getFaceAsync(String personGroupId, UUID personId, UUID persistedFaceId)
personGroupId - Id referencing a particular person group.personId - Id referencing a particular person.persistedFaceId - Id referencing a particular persistedFaceId of an existing face.IllegalArgumentException - thrown if parameters fail the validationvoid updateFace(String personGroupId, UUID personId, UUID persistedFaceId, UpdateFaceOptionalParameter updateFaceOptionalParameter)
personGroupId - Id referencing a particular person group.personId - Id referencing a particular person.persistedFaceId - Id referencing a particular persistedFaceId of an existing face.updateFaceOptionalParameter - 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> updateFaceAsync(String personGroupId, UUID personId, UUID persistedFaceId, UpdateFaceOptionalParameter updateFaceOptionalParameter)
personGroupId - Id referencing a particular person group.personId - Id referencing a particular person.persistedFaceId - Id referencing a particular persistedFaceId of an existing face.updateFaceOptionalParameter - the object representing the optional parameters to be set before calling this APIIllegalArgumentException - thrown if parameters fail the validationPersonGroupPersons.PersonGroupPersonsUpdateFaceDefinitionStages.WithPersonGroupId updateFace()
PersistedFace addPersonFaceFromUrl(String personGroupId, UUID personId, String url, AddPersonFaceFromUrlOptionalParameter addPersonFaceFromUrlOptionalParameter)
personGroupId - Id referencing a particular person group.personId - Id referencing a particular person.url - Publicly reachable URL of an image.addPersonFaceFromUrlOptionalParameter - 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> addPersonFaceFromUrlAsync(String personGroupId, UUID personId, String url, AddPersonFaceFromUrlOptionalParameter addPersonFaceFromUrlOptionalParameter)
personGroupId - Id referencing a particular person group.personId - Id referencing a particular person.url - Publicly reachable URL of an image.addPersonFaceFromUrlOptionalParameter - the object representing the optional parameters to be set before calling this APIIllegalArgumentException - thrown if parameters fail the validationPersonGroupPersons.PersonGroupPersonsAddPersonFaceFromUrlDefinitionStages.WithPersonGroupId addPersonFaceFromUrl()
PersistedFace addPersonFaceFromStream(String personGroupId, UUID personId, byte[] image, AddPersonFaceFromStreamOptionalParameter addPersonFaceFromStreamOptionalParameter)
personGroupId - Id referencing a particular person group.personId - Id referencing a particular person.image - An image stream.addPersonFaceFromStreamOptionalParameter - 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> addPersonFaceFromStreamAsync(String personGroupId, UUID personId, byte[] image, AddPersonFaceFromStreamOptionalParameter addPersonFaceFromStreamOptionalParameter)
personGroupId - Id referencing a particular person group.personId - Id referencing a particular person.image - An image stream.addPersonFaceFromStreamOptionalParameter - the object representing the optional parameters to be set before calling this APIIllegalArgumentException - thrown if parameters fail the validationPersonGroupPersons.PersonGroupPersonsAddPersonFaceFromStreamDefinitionStages.WithPersonGroupId addPersonFaceFromStream()
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/