FaceTemplateDict Class

Namespace: id3.Face

Definition

Represents a dictionary of face templates.
class FaceTemplateDict
class FaceTemplateDict implements Finalizable
public partial class FaceTemplateDict
public class FaceTemplateDict implements AutoCloseable, Serializable
public class FaceTemplateDict
typedef struct id3FaceTemplateDict *ID3_FACE_TEMPLATE_DICT;

Usage

faceTemplateDictInstance = FaceTemplateDict()
# ...

Explicit destruction

# ...
del faceTemplateDictInstance
final faceTemplateDictInstance = sdk.FaceTemplateDict();
// ...

Explicit destruction

// ...
faceTemplateDictInstance.dispose()
using (var faceTemplateDictInstance = new FaceTemplateDict())
{
   // ...
}

Explicit destruction

var faceTemplateDictInstance = new FaceTemplateDict()
// ...
faceTemplateDictInstance.Dispose()
try (FaceTemplateDict faceTemplateDictInstance = new FaceTemplateDict()) {
// ...
}

Explicit destruction

FaceTemplateDict faceTemplateDictInstance = new FaceTemplateDict();
// ...
faceTemplateDictInstance.close();
private var faceTemplateDictInstance: FaceTemplateDict? = nil
faceTemplateDictInstance = try FaceTemplateDict()
ID3_FACE_TEMPLATE_DICT hFaceTemplateDict{};
int err = id3FaceTemplateDict_Initialize(&hFaceTemplateDict);
if (err == ID3_SUCCESS) {
    // ...
    id3FaceTemplateDict_Dispose(&hFaceTemplateDict);
}

Properties

Name

Type

Description

count

int

Gets the number of elements contained in the dict

keys

StringList

Gets a string list containing the keys in the dict.

operator [string key]

FaceTemplate

Gets or sets the element for the key in the dict.

Iteration

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

The iteration is done on keys

Methods

Name

Description

add

Adds an item to the FaceTemplateDict object.

clear

Clears the FaceTemplateDict object.

clone

Clones the FaceTemplateDict object.

containsKey

Determines whether the FaceTemplateDictobject contains the specified key.

get

Gets an item of the FaceTemplateDict object.

getCount

Gets the number of elements in the FaceTemplateDict object.

remove

Removes an element of the FaceTemplateDict object.

set

Sets an item of the FaceTemplateDict object.