getRemainingDays static method
Retrieves the number of remaining days.
return The number of remaining days. throws FaceException An error has occurred during Face Library execution.
Implementation
static int getRemainingDays() {
Pointer<Int> pRemainingDays = calloc();
try {
var err = faceSDK.id3FaceLicense_GetRemainingDays(pRemainingDays);
if (err != FaceError.success.value) {
throw FaceException(err);
}
final vRemainingDays = pRemainingDays.value;
return vRemainingDays;
} finally {
calloc.free(pRemainingDays);
}
}