getSecond method

int getSecond()

Gets the the second (0 through 59).

return The second (0 through 59). throws BiosealException An error has occurred during Bioseal Library execution.

Implementation

int getSecond() {
  Pointer<Int> pSecond = calloc();
  try {
    var err = biosealSDK.id3BiosealDateTime_GetSecond(_pHandle.value, pSecond);
    if (err != BiosealError.success.value) {
      throw BiosealException(err);
    }
    final vSecond = pSecond.value;
    return vSecond;
  } finally {
    calloc.free(pSecond);
  }
}