getFormat method
Gets the format of the face template.
return Format of the face template. throws FaceException An error has occurred during Face Library execution.
Implementation
FaceTemplateFormat getFormat() {
Pointer<Int32> pFormat = calloc();
try {
var err = faceSDK.id3FaceTemplate_GetFormat(_pHandle.value, pFormat);
if (err != FaceError.success.value) {
throw FaceException(err);
}
final vFormat = FaceTemplateFormatX.fromValue(pFormat.value);
return vFormat;
} finally {
calloc.free(pFormat);
}
}