getContainsPortraits method

bool getContainsPortraits()

Gets the indicates whether the BioSeal contains portraits.

return Indicates whether the BioSeal contains portraits. throws BiosealException An error has occurred during Bioseal Library execution.

Implementation

bool getContainsPortraits() {
  Pointer<Bool> pContainsPortraits = calloc();
  try {
    var err = biosealSDK.id3Bioseal_GetContainsPortraits(_pHandle.value, pContainsPortraits);
    if (err != BiosealError.success.value) {
      throw BiosealException(err);
    }
    final vContainsPortraits = pContainsPortraits.value;
    return vContainsPortraits;
  } finally {
    calloc.free(pContainsPortraits);
  }
}