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

# FaceTemplateList Class

Namespace: id3.Face

## Definition

Represents a list of face templates.
Python

    class FaceTemplateList

Dart

    class FaceTemplateList implements Finalizable

C#

    public partial class FaceTemplateList

Java

    public class FaceTemplateList implements AutoCloseable, Serializable

Swift

    public class FaceTemplateList

C

    typedef struct id3FaceTemplateList *ID3_FACE_TEMPLATE_LIST;

## Usage

Python

    faceTemplateListInstance = id3face.FaceTemplateList()

Explicit destruction

    # ...
    del faceTemplateListInstance

Dart

    final faceTemplateListInstance = sdk.FaceTemplateList();
    // ...

Explicit destruction

    // ...
    faceTemplateListInstance.dispose()

C#

    using (var faceTemplateListInstance = new FaceTemplateList())
    {
       // ...
    }

Explicit destruction

    var faceTemplateListInstance = new FaceTemplateList()
    // ...
    faceTemplateListInstance.Dispose()

Java

    try (FaceTemplateList faceTemplateListInstance = new FaceTemplateList()) {
    // ...
    }

Explicit destruction

    FaceTemplateList faceTemplateListInstance = new FaceTemplateList();
    // ...
    faceTemplateListInstance.close();

Swift

    private var faceTemplateListInstance: FaceTemplateList? = nil
    faceTemplateListInstance = try FaceTemplateList()

C

    ID3_FACE_TEMPLATE_LIST hFaceTemplateList{};
    int err = id3FaceTemplateList_Initialize(&hFaceTemplateList);
    if (err == ID3_SUCCESS) {
        // ...
        id3FaceTemplateList_Dispose(&hFaceTemplateList);
    }

## Properties

Name | Type | Description
--- | --- | ---
count | int | Gets the number of elements contained in the list
operator [int index] | FaceTemplate | Gets or sets the element at the specified index in the list.

## Iteration

This class supports iteration in Dart, C#, Java and Python.

## Methods

Name | Description
--- | ---
add | Adds an item to the FaceTemplateList object.
clear | Clears the FaceTemplateList object.
clone | Clones the FaceTemplateList object.
get | Gets an item of the FaceTemplateList object.
getCount | Gets the number of elements in the FaceTemplateList object.
removeAt | Removes an element of the FaceTemplateList object.
resize | FaceTemplateList object.
set | Sets an item of the FaceTemplateList object.