SealdRecipientsWithRightsArray_AddWithDefaultRights method

void SealdRecipientsWithRightsArray_AddWithDefaultRights(
  1. Pointer<NativeSealdRecipientsWithRightsArray> array,
  2. Pointer<Utf8> sealdId
)

SealdRecipientsWithRightsArray_AddWithDefaultRights adds a recipient with default rights. Default rights are: read: true, forward: true, revoke: false Default rights for the current user when creating an encryptionSession are read: true, forward: true, revoke: true

@param array The SealdRecipientsWithRightsArray to add the recipients-rights pair to. @param sealdId Internal Seald IDs. Returned for users with SealdSdk_getCurrentAccountInfo, for groups when creating them.

Implementation

void SealdRecipientsWithRightsArray_AddWithDefaultRights(
  ffi.Pointer<NativeSealdRecipientsWithRightsArray> array,
  ffi.Pointer<pkg_ffi.Utf8> sealdId,
) {
  return _SealdRecipientsWithRightsArray_AddWithDefaultRights(
    array,
    sealdId,
  );
}