getCount method
Gets the number of elements in the StringList object.
return Number of elements in the object. throws FaceException An error has occurred during Face Library execution.
Implementation
int getCount() {
Pointer<Int> pCount = calloc();
try {
var err = faceSDK.id3FaceStringList_GetCount(_pHandle.value, pCount);
if (err != FaceError.success.value) {
throw FaceException(err);
}
final vCount = pCount.value;
return vCount;
} finally {
calloc.free(pCount);
}
}