SealdSdk_ShouldRenewGroup method
int
SealdSdk_ShouldRenewGroup(
- Pointer<
NativeSealdSdk> sealdSdk, - Pointer<
Utf8> groupId, - Pointer<
Int> result, - Pointer<
Pointer< error,NativeSealdError> >
ShouldRenewGroup returns a boolean that indicates whether or not this group should be renewed.
The result is 1 if the group expires in less than 6 months, 0 otherwise.
@param sealdSdk The SealdSdk instance.
@param groupId The group for which to check if renewal is necessary.
@param result A pointer where to store the result.
@param error A pointer to a SealdError* where details will be stored in case of error.
@return Error code: -1 if an error happened, 0 for success.
Implementation
int SealdSdk_ShouldRenewGroup(
ffi.Pointer<NativeSealdSdk> sealdSdk,
ffi.Pointer<pkg_ffi.Utf8> groupId,
ffi.Pointer<ffi.Int> result,
ffi.Pointer<ffi.Pointer<NativeSealdError>> error,
) {
return _SealdSdk_ShouldRenewGroup(
sealdSdk,
groupId,
result,
error,
);
}