getPhotographicAttributes method

PhotographicAttributes getPhotographicAttributes()

Gets the photographic attributes.

return Photographic attributes. throws FaceException An error has occurred during Face Library execution.

Implementation

PhotographicAttributes getPhotographicAttributes() {
  Pointer<id3FacePhotographicAttributes> pPhotographicAttributes = calloc();
  var err = faceSDK.id3FacePortrait_GetPhotographicAttributes(_pHandle.value, pPhotographicAttributes);
  if (err != FaceError.success.value) {
  	calloc.free(pPhotographicAttributes);
  	throw FaceException(err);
  }
  return PhotographicAttributes(pPhotographicAttributes);
}