Hide navigation sidebar
Hide table of contents sidebar
Skip to content
Back to top
Toggle table of contents sidebar

# FaceCandidateList.set Method

Module: FaceCandidateList

## Definition

Sets an item of the FaceCandidateList object.

Python

    set(self, index: int, face_candidate_item: FaceCandidate) -> None

Parameters

> `index` int
> in Index of the FaceCandidate item to set.
> `face_candidate_item` FaceCandidate
> in FaceCandidate item to set.

Exceptions

> FaceException
> An error has occurred during Face Library execution.

Dart

    void set(int index, FaceCandidate faceCandidateItem)

Parameters

> `index` int
> in Index of the FaceCandidate item to set.
> `faceCandidateItem` FaceCandidate
> in FaceCandidate item to set.

Exceptions

> FaceException
> An error has occurred during Face Library execution.

C#

    public void Set(int index, FaceCandidate faceCandidateItem)

Parameters

> `index` int
> in Index of the FaceCandidate item to set.
> `faceCandidateItem` FaceCandidate
> in FaceCandidate item to set.

Exceptions

> FaceException
> An error has occurred during Face Library execution.

Java

    public void set(int index, FaceCandidate faceCandidateItem) throws FaceException

Parameters

> `index` int
> in Index of the FaceCandidate item to set.
> `faceCandidateItem` FaceCandidate
> in FaceCandidate item to set.

Exceptions

> FaceException
> An error has occurred during Face Library execution.

Swift

    public func set(index: Int32, faceCandidateItem: FaceCandidate) throws

Parameters

> `index` Int32
> in Index of the FaceCandidate item to set.
> `faceCandidateItem` FaceCandidate
> in FaceCandidate item to set.

Exceptions

> FaceException
> An error has occurred during Face Library execution.

C

    int id3FaceCandidateList_Set (
        ID3_FACE_CANDIDATE_LIST hFaceCandidateList,
        int index,
        ID3_FACE_CANDIDATE hFaceCandidateItem)

Parameters

> `hFaceCandidateList` ID3_FACE_CANDIDATE_LIST
> in Handle to the FaceCandidateList object.
> `index` int
> in Index of the FaceCandidate item to set.
> `hFaceCandidateItem` ID3_FACE_CANDIDATE
> in FaceCandidate item to set.

Returns

> `int`
> An error code.
> See id3FaceError file for the list of possible error codes.