コード例 #1
0
ファイル: Eyes.cs プロジェクト: aleksandartraja/robbie
 /// <summary>
 /// Update the name of a person within the Face API, used to set the name of a person after getting to know his name.
 /// You can only call this method once!
 /// </summary>
 /// <remarks>
 /// Mind that you cannot call this multiple times, because this method attaches the given name and the person ID to each other (within the FaceDetection class).
 /// </remarks>
 /// <param name="personId">The person ID within the Face API of the person to update the name of.</param>
 /// <param name="name">The new name to set.</param>
 /// <returns>The new name of the person.</returns>
 public async Task <string> UpdatePerson(Guid personId, string name)
 {
     return(await faceDetection.UpdatePersonName(personId, name));
 }